sort topics
This commit is contained in:
parent
a17a43595e
commit
462d782a62
|
@ -259,7 +259,7 @@ def possible_topics(context):
|
|||
catalog = getToolByName(context, 'portal_catalog')
|
||||
topics = tabellio.config.utils.get_topics_dict()
|
||||
terms = []
|
||||
for key, value in topics.items():
|
||||
for key, value in sorted(topics.items()):
|
||||
topic_id = key
|
||||
topic_str = value[0]
|
||||
terms.append(SimpleVocabulary.createTerm(topic_id, topic_id, topic_str))
|
||||
|
|
Reference in New Issue