Skip to content

Commit

Permalink
fix: sort applications by name (#15313)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman committed Feb 1, 2024
1 parent 13de6a9 commit e51af12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warehouse/organizations/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_organization_applications_by_name(
query = query.filter(OrganizationApplication.submitted_by == submitted_by)
if undecided is True:
query = query.filter(OrganizationApplication.is_approved.is_(None))
return query.all()
return query.order_by(OrganizationApplication.normalized_name).all()

def find_organizationid(self, name):
"""
Expand Down

0 comments on commit e51af12

Please sign in to comment.