-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 8347 tag-picker macro improve tagListFilter #8351
Fix 8347 tag-picker macro improve tagListFilter #8351
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
It is great! Works very well! :-D |
Thanks @pmario does this fix a regression in v5.3.4, or is this a new feature? |
@Jermolene -- the tagListFilter parameter is new in v5.3.4 -- So it's more an oversight than a regression since it does not exist in v5.3.3 |
Thanks @pmario |
@@ -19,7 +19,8 @@ The <<.def tag-picker>> [[macro|Macros]] generates a combination of a text box a | |||
: <<.from-version 5.3.4>> Defines the target tiddler, which should be manipulated. Defaults to: <<.var currentTiddler>>. | |||
|
|||
; tagListFilter | |||
: <<.from-version 5.3.4>> This parameter defaults to: `[tags[]]` which creates a list of all existing tags. If the tag list should come from a different source the filter should look similar to eg: `[<listSource>get[field-name]enlist-input[]]`. | |||
: <<.from-version 5.3.4>> This parameter defaults to: `[tags[]]` which creates a list of all existing tags. If the tag list should come from a different source the filter should look similar to eg: `[<listSource>get[field-name]enlist-input[]]`. See examples. | |||
: <<.from-version 5.3.6>> This parameter defaults to: `[tags[]sort[]]`. This change allows a custom sort order, since `sort[]` is not hardcoded into the tag-picker macro anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pmario @Jermolene I assume this a typo and it should state 5.3.5 and 5.3.6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @saqimtiaz I've pushed a fix in 1eb1af2
* improve tagListFiler defaults to [tags[]sort[]] now * tag-picker - update docs
Fix #8347 tag-picker macro, change tagListFilter
tagListFilter
from[tags[]]
to[tags[]sort[]]
sort[]
from the default filters.So users can provide custom filters now.
@twMat Please test the preview, once it is built