order keywords alphabetically (#4478)
This commit is contained in:
parent
f9d61690c6
commit
857011677d
|
@ -78,7 +78,7 @@ class ThesaurusKeywordsWidget(SequenceWidget):
|
||||||
|
|
||||||
thesaurus_path = '/'.join(thesaurus.getPhysicalPath())
|
thesaurus_path = '/'.join(thesaurus.getPhysicalPath())
|
||||||
value = []
|
value = []
|
||||||
for token in self.value:
|
for token in sorted(self.value):
|
||||||
# Ignore no value entries. They are in the request only.
|
# Ignore no value entries. They are in the request only.
|
||||||
if token == self.noValueToken:
|
if token == self.noValueToken:
|
||||||
continue
|
continue
|
||||||
|
|
Reference in New Issue