myTag<$list filter="criteria-fitler">
<$macrocall action
</$list>\define action such as:
<$button
<$action-sendmessage $message=
Press Button
</$button| Filter | |
|---|---|
| A tag: myTag : | filter="[tag[myTag]]" |
| Has both a tag for BOTH audio AND video : | filter="[tag[audio]tag[video]]" |
| Has a tag for EITHER audio OR video : | filter="[tag[audio]] [tag[video]]" |
| A title starting with: Word : | filter="[all[tiddlers]prefix[Word: ]]" |
| An empty text field : | filter="[all[tiddlers]!has[text]]" |
| Does not have a modified field: | filter="[all[tiddlers]!has[modified]]" |
| Has a field called: author , but that field is NOT empty : | filter="[all[tiddlers]has:field[author]]" |
| Has a field called: author , but that field is empty : | filter="[all[tiddlers]has:field[author]!has[author]]" |
tm-add-field , tm-add-tag , tm-delete-tiddler , tm-new-tiddler , tm-remove-field , tm-remove-tag Maybe including the possibility to add your own solutions to the filter menu via https://tiddlywiki.com/#SystemTag%3A%20%24%3A%2Ftags%2FAdvancedSearch%2FFilterButton
(Or would this be a separate chapter? Then link to it.)
Cheers,
Thomas
<$list filter="[has[dummy]]"></$list>
<$button>
<$action-deletetiddler $filter="[tag[dummy]]"/>
Delete Tiddlers tagged
</$button>
<$list filter="[has[dummy]]"></$list>
<$button>
<$list filter="[has[dummy]]">
<$action-deletefield $field="dummy"/>
</$list>
Delete Field in tiddler
</$button>
<$button>
<$action-deletetiddler $filter="[has[dummy]]"/>
Delete Tiddlers with field
</$button>