Mercurial > kallithea
changeset 4372:a2d236bbcd52
pull requests: the default review status should be default = not reviewed
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 18 Jul 2014 19:22:01 +0200 |
parents | 1469afcacee5 |
children | 9dfd9d242728 |
files | kallithea/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/model/db.py Fri Jul 18 19:22:01 2014 +0200 +++ b/kallithea/model/db.py Fri Jul 18 19:22:01 2014 +0200 @@ -1376,8 +1376,7 @@ .filter(ChangesetStatus.revision.in_(revisions)) grouped = {} - #maybe we have open new pullrequest without a status ? - stat = ChangesetStatus.STATUS_UNDER_REVIEW + stat = ChangesetStatus.DEFAULT status_lbl = ChangesetStatus.get_status_lbl(stat) for pr in PullRequest.query().filter(PullRequest.org_repo == self).all(): for rev in pr.revisions: