Hi -- From the TiddlyWiki docs:
A sequence of separate runs will select the tiddlers that match *any* of
the runs. We can use this to find recipes that serve either 3, 4 or 5
people:
[serving[3]] [serving[4]] [serving[5]]
If we want to ignore vegetarian recipes that serve 4, we can say this:
[serving[3]] [serving[4]!tag[Vegetarian]] [serving[5]]
By default, each run considers every tiddler in the wiki. But we can use a +
sign
to force a run to consider only the tiddlers that were selected by the
preceding runs:
[serving[3]] [serving[4]] [serving[5]] +[tag[Vegetarian]] +[sort[title]]
This selects recipes for 3, 4 or 5 people, then filters *those* to keep
only the vegetarian ones, and finally sorts any that are left into
alphabetical order of title.
In a similar way, we can use a - sign to *remove* a run's tiddlers from the
result so far. Here we select all vegetarian recipes apart from two:
[tag[Vegetarian]] -[title[ScrambledEggs]] -BeansOnToast
regards
On Tuesday, 16 August 2016 10:46:55 UTC+2, Rizwan Ishak wrote:
>
> Hi
> I made a list of 10 tiddlers appear in storylist using the code
> <$makelist tiddler="$:/StoryList" set="!!list"
> filter="[tag[A]fieldA{!!fieldA}limit[10]]">
> <$button class="tc-btn-text" message="tw-make-list">
> TextAppearingOnMyButton
> </$button>
> </$makelist>
>
> I was wondering if there was a way to add a tiddler to the storylist with
> a button reading next - onclick which will add the next 10 tiddlers of the
> above used flter to the storylist?
>
> Sorry the solution is apparent. I promise I did my fair share of searching.
>
> On a rather unrelated note, what is a way to add 'OR' to the filter
> parameters?
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/98d24666-e163-43cb-990f-47b8c935a9dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.