View Single Post
Old 03-12-2023, 04:43 AM   #525
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,510
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
New question: I have this template that populates my Kobo collections column. (Non-composite, Action Chains single-field edit).
It is very hard to know how to "fix" this without knowing the universe of possibilities.

The following works for your example. I don't know if it will work in general. It removes any value in #booktype from #kobocol before merging, which seems to be what you are looking for.
Code:
new_colls = list_union(list_difference($#kobocol, $#booktype, ','), colls, ',')
chaley is offline   Reply With Quote