From d527746cfe350acd912cd3cd84a8ab1818f96a06 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Wed, 18 Dec 2013 19:16:58 -0500 Subject: [PATCH] Fix the list of public repos to respect the limit set by the API request. --- data/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/model.py b/data/model.py index 629d06700..0945f9dc0 100644 --- a/data/model.py +++ b/data/model.py @@ -544,7 +544,7 @@ def get_visible_repositories(username=None, include_public=True, limit=None, where_clause = new_clause if limit: - query.limit(limit) + query = query.limit(limit) return query.where(where_clause)