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)