Hi Farayi

The ActionListops widget is designed for this kind of operation and 
simplifies code considerably -- to search and replace a tag use with the 
replace[] filter operator like so:

<$button>
<$list filter="[tag[oldtag]]">
<$action-listops $tags="newtag +[replace[oldtag]]"/>
</$list>
Do This
</$button>

-- the $tags filter will operate on the 'tags' field of the current tiddler
-- the 'newtag' entry appends the tag to replace with to the end of the list
-- the replace[oldtag] filter operator searches for 'oldtag' and replaces 
it with the last item in the list ('newtag' in this case)
-- the list filter is used to select the list of tiddlers to operate on 
(this may be any listing -- in this case the list of tiddlers with 'oldtag')

Hope this helps

regards

On Monday, 18 July 2016 10:52:16 UTC+2, Farayi Chambati wrote:
>
>
> I have a tag like "Movie" and "movie". How do I rename one or how I merge 
> these? My queries are now very complicated because of this. OR what do you 
> recommend?
>
>
>

-- 
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/538c5bc7-dc0b-4699-89ea-cb635befc732%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to