~hokiegeek/tw5-checklist

ref: 4b723e6a5dec77f484c0f39658eef87e1dfe8184 tw5-checklist/ShoppingList/buttons_NewItem.tid -rw-r--r-- 803 bytes
4b723e6aHokieGeek Did some renames 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
creator: hokiegeek
created: 20181022145158481
list-before: 
modified: 20181024014100060
tags: $:/tags/ViewToolbar
title: $:/plugins/hokiegeek/checklist/ShoppingList/buttons/NewItem
type: text/vnd.tiddlywiki

\define newShoppingListItem()
<$set name="item-tags" filter="[{$:/plugins/hokiegeek/checklist/ShoppingList/config/Item/tag}][list[!!tags]]-[{$:/plugins/hokiegeek/checklist/ShoppingList/config/List/tag}]">
<$macrocall $name="newListItem"
            parent-list-tags=<<item-tags>>
            item-tag={{$:/plugins/hokiegeek/checklist/ShoppingList/config/Item/tag}}
            />
</$set>
\end

<$set name="list-tag" value={{$:/plugins/hokiegeek/checklist/ShoppingList/config/List/tag}}>
<$list filter="[all[current]is[tiddler]!is[system]tag<list-tag>]">
<<newShoppingListItem>>
</$list>
</$set>