Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha 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)
commita5a4b6e0cf5c76f231c1c8fc8ceed1032fa3644c (patch)
treed79174f639b045f7a6abdcf34c9221dcb882bd24
parent1455ff98d9779c10fd202d7c93c6fdb72ea46c1d (diff)
fsemulation: by-tags: sort tagsHEADmaster
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.py2
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):