From 95f04268fd546ca6d309df46b1f97ff2e0562128 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 04 2014 12:00:24 +0000 Subject: Get the list of issues of the correct project, not anyone --- diff --git a/progit/lib.py b/progit/lib.py index f4a97d3..ace2166 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -371,6 +371,8 @@ def get_issues(session, repo, status=None, closed=False): subquery.c.issue_id == model.Issue.id ).filter( subquery.c.project_id == model.Issue.project_id + ).filter( + model.Issue.project_id == repo.id ).order_by( model.Issue.id )