1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-02 02:03:14 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/FilterOperator get.tid
Jermolene 570cad1c7f Add 'get' filter operator
Prompted by @sukima’s work on #586
2014-04-27 18:45:01 +01:00

13 lines
440 B
Plaintext

created: 20140426183123179
modified: 20140426183123179
tags: filters
title: FilterOperator: get
type: text/vnd.tiddlywiki
The ''get'' filter operator replaces the titles of the tiddlers in the current list with the values of the field specified by the operand.
For example:
|!Filter String |!Description |
|`[all[current]get[draft.of]]` |If the current tiddler is a draft, returns the original tiddler, otherwise returns an empty list |