Browse Source

Sort tags in a case-agnostic way

Getty Ritter 3 years ago
parent
commit
e61063b565
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lc/model.py

+ 1 - 1
lc/model.py

@@ -182,7 +182,7 @@ class User(Model):
     def get_tags(self) -> List[v.Tag]:
         return sorted(
             (t.to_view() for t in self.tags),  # type: ignore
-            key=lambda t: t.name,
+            key=lambda t: t.name.upper(),
         )
 
     def get_related_tags(self, tag: "Tag") -> List[v.Tag]: