Remove unnecessary sort

This commit is contained in:
Joseph Schorr 2015-05-08 15:10:31 -04:00
parent 180e0a67cd
commit 561f2c7db0

View file

@ -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)