diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2014-06-23 09:32:03 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2014-06-23 09:32:03 (GMT) |
commit | a5a4b6e0cf5c76f231c1c8fc8ceed1032fa3644c (patch) | |
tree | d79174f639b045f7a6abdcf34c9221dcb882bd24 | |
parent | 1455ff98d9779c10fd202d7c93c6fdb72ea46c1d (diff) |
Present the tags listing (i.e. the entries of the by-tags directory)
in alphanumerical sort order to make it easier for the user to locate
a particular tag they're looking for.
-rw-r--r-- | fsemulation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsemulation.py b/fsemulation.py index d02d58e..714338d 100644 --- a/fsemulation.py +++ b/fsemulation.py @@ -932,7 +932,7 @@ class ByTagsDirectory(Directory): tags.update((value or u'').split()) tags.discard(u'') - return tags + return sorted(tags) class SearchResultDirectory(ByTitleDirectory): |