mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-07 07:50:26 +00:00
add subfilter info after x matches to search-variables
This commit is contained in:
parent
c7a4558f6f
commit
2c96122754
@ -166,7 +166,12 @@ tags: $:/tags/Global
|
||||
+[filter<subfilter>]
|
||||
+[!filter<tf.dv-getExcludeText>]
|
||||
+[count[]] }$`
|
||||
/> <<lingo Matches>></p>
|
||||
/>
|
||||
<<lingo Matches>>
|
||||
<% if [<subfilter>split[]count[]compare::gt[4]] %>
|
||||
<span class="tc-small-gap-left"><$text text=`subfilter: $(subfilter)$`/></span>
|
||||
<%endif%>
|
||||
</p>
|
||||
|
||||
<div class="tc-variables-results">
|
||||
<$list filter="[subfilter<tf.dv-filterString>]
|
||||
|
@ -1,5 +1,5 @@
|
||||
created: 20240427121446051
|
||||
modified: 20240429205843171
|
||||
modified: 20240501113433319
|
||||
title: search-variables Macro (Examples)
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
@ -25,5 +25,9 @@ eg="""<div><$let EXAMPLE="123" >
|
||||
<$macrocall $name=".example" n="4"
|
||||
eg="""<div><<search-variables subfilter:"[prefix[.a]]">></div>"""/>
|
||||
|
||||
<$macrocall $name=".example" n="5"
|
||||
eg="""<div><<search-variables type:"fn" sort:"raw">></div>"""/>
|
||||
|
||||
<$macrocall $name=".example" n="6"
|
||||
eg="""<div><<search-variables type:"fn" sort:"raw" subfilter:"[prefix[.]]">></div>"""/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user