Mark/Mat,

Do I take it then that

$subfilter="[list[!!temp-select-users]]" adds temp-select-users to the list
$subfilter="-[list[!!temp-select-users]]" removes temp-select-users to the 
list

All the examples give literals with a title, +title -title

This use of the filter format in subfilter confuses me, because 
filter="-[list[!!temp-select-users]]" would result in nothing in a normal 
filter.

Regards
Tony


On Thursday, July 4, 2019 at 11:37:36 AM UTC+10, Mark S. wrote:
>
> Something like Mat had, but since you have an actual list field, and not a 
> text field, perhaps:
>
> <$button>Move right
> <$action-listops $field="office-consultants-list" 
> $subfilter="[list[!!temp-select-users]]" />
> <$action-listops $field="temp-select-users" $filter="[[]]"/>
> </$button>
>
> <$button>Move left
> <$action-listops $field="temp-select-users" 
> $subfilter="[list[!!office-consultants-list]]" />
> <$action-listops $field="office-consultants-list" $filter="[[]]"/>
> </$button>
>
>
> On Wednesday, July 3, 2019 at 6:00:47 PM UTC-7, TonyM wrote:
>>
>> Mat,
>>
>> The problem is I want to
>>
>>    1. add from a tiddler containing the list to a field
>>    2. remove from a tiddler containing the list from a field
>>
>> Eg;
>>
>>    1. $:/temp/select/add
>>    2. $:/temp/select/remove
>>    3. list-field
>>
>> By late I assume you mean time of day, it being different here and all.
>>
>> Regards
>> Tony
>>
>>
>>
>> On Thursday, July 4, 2019 at 10:31:13 AM UTC+10, Mat wrote:
>>>
>>> It's a bit too late for me to read you post very carefully but if I 
>>> understand you right you need help with the moving of items from one list 
>>> to another. Maybe this helps:
>>>
>>> In a tiddler, have a field like so
>>>
>>> a : one two three
>>>
>>> and in editor preview mode do
>>>
>>> <$button>
>>> <$action-listops $field=a $filter="[enlist{!!a}] -two"/>
>>> <$action-listops $field="b" $subfilter="two"/>
>>> >>
>>> </$button>
>>>
>>>
>>> <:-)
>>>
>>

-- 
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/8b01a6cd-33b4-45f9-a4e3-fddbd227012d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to