Fix sorting: ignore case.
This commit is contained in:
parent
f0284bb8a6
commit
34a08af78c
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ def all_nodes(include_journals=True):
|
|||
|
||||
# TODO: experiment with other ranking.
|
||||
# return sorted(nodes, key=lambda x: -x.size())
|
||||
return sorted(nodes, key=lambda x: x.wikilink)
|
||||
return sorted(nodes, key=lambda x: x.wikilink.lower())
|
||||
|
||||
def all_users():
|
||||
# hack hack.
|
||||
|
|
Loading…
Reference in a new issue