From 561f2c7db0987043c36c519d6d87d8e584cb63ec Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 8 May 2015 15:10:31 -0400 Subject: [PATCH] Remove unnecessary sort --- data/model/legacy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/model/legacy.py b/data/model/legacy.py index ca3e7689a..33918e9dc 100644 --- a/data/model/legacy.py +++ b/data/model/legacy.py @@ -2864,8 +2864,7 @@ def get_user_starred_repositories(user, limit=None, page=None): .join(User) .switch(Repository) .join(Visibility) - .where(Star.user == user) - .order_by(Star.created)) + .where(Star.user == user)) if page and limit: query = query.paginate(page, limit)