Fix tag sorting

This commit is contained in:
Tim Van Baak 2020-06-02 09:54:41 -07:00
parent ed67e717cf
commit a5e7dfd532

View File

@ -68,7 +68,7 @@ def root():
# Create the feed control item
link_table = ["<tr><td>{0}</td><td>{1}</td><td></td><td></td></tr>".format(
total, make_query_link("all", [], []))]
for tag, count in sorted(active_tags.items()):
for tag, count in sorted(active_tags.items(), key=lambda i: i[0].lower()):
links = [count]
links.append(make_query_link(tag, [tag], []))
if tag in wl: