I would like to use rsort operator by @clsturgeon to add new tag by relevance, instead of alphabet.
I modify the tiddler $:/core/macros/tag-picker
Original
<$vars refreshTitle=<<qualify "$:/temp/NewTagName/refresh">>
nonSystemTagsFilter="[tags[]!is[system]search:title<userInput>sort[]limit[8]]"
systemTagsFilter="[tags[]is[system]search:title<userInput>sort[]limit[1]]">
Modified
<$vars refreshTitle=<<qualify "$:/temp/NewTagName/refresh">>
nonSystemTagsFilter="[tags[]!is[system]search:title<userInput>rsort<userInput>limit[8]]"
systemTagsFilter="[tags[]is[system]search:title<userInput>rsort<userInput>limit[1]]">
Now I can list Tag
s by relevance.
However, the arrow keys Up
and Down
still following the alphabet order (See gif above as an example).
Are there any other places I should modify?