# HG changeset patch # User Mads Kiilerich # Date 2016-05-23 18:02:33 # Node ID 133686b535d1f43461e9e17bacf5bf657bc4d6fe # Parent 0590e974ac35cd1b938382724099cc7c556e35ee pullrequests: clarifying comment about how weird status versioning is diff --git a/kallithea/model/changeset_status.py b/kallithea/model/changeset_status.py --- a/kallithea/model/changeset_status.py +++ b/kallithea/model/changeset_status.py @@ -52,6 +52,7 @@ class ChangesetStatusModel(BaseModel): q = ChangesetStatus.query() \ .filter(ChangesetStatus.repo == repo) if not with_revisions: + # only report the latest vote across all users! TODO: be smarter! q = q.filter(ChangesetStatus.version == 0) if revision: