Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
#15 Case-insensitive sort for list
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbuckle committed Oct 5, 2017
1 parent bd86c94 commit 0164df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/scripts/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def calculateBestFontSize(context, text, hotasDetail, biggestFontSize):
def printList():
print('<div id="banner"><h1>EDRefCard: public configurations</h1></div>')
print('<p>Yes, we know this is very basic. Proper search support is coming soon.</p>')
objs = Config.allConfigs(sortKey=lambda obj: str(obj['description']))
objs = Config.allConfigs(sortKey=lambda obj: str(obj['description']).casefold())
print('<table>')
print('''
<tr>
Expand Down

0 comments on commit 0164df8

Please sign in to comment.