diff --git a/data/model/legacy.py b/data/model/legacy.py index a3b9a3d2c..9b295d7eb 100644 --- a/data/model/legacy.py +++ b/data/model/legacy.py @@ -904,8 +904,9 @@ def get_visible_repositories(username=None, include_public=True, page=None, limit=limit, namespace=namespace, select_models=[Repository, Namespace, Visibility]) - if sort: - query = query.order_by(Repository.description.desc()) + # TODO(jschorr): Reenable with a better sorting method + #if sort: + # query = query.order_by(Repository.description.desc()) if limit: query = query.limit(limit)