Skip to content

Commit

Permalink
Services are now sorted in a case-insensitive manner
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Nov 18, 2023
1 parent 9ee3fd6 commit 53977a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise_api/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get(self, request):

# Sort our result set
details['schemas'] = sorted(
details['schemas'], key=lambda i: str(i['service_name']))
details['schemas'], key=lambda i: str(i['service_name']).upper())

# Return our content
return render(request, self.template_name, {
Expand Down

0 comments on commit 53977a7

Please sign in to comment.