Basically I am trying to make a list of tags, #shelf (merge these two) and remove all values which are in #genre, #character, #legth.
I have been trying to make it on my own half successfully. I tried list_differences
Code:
{#shelf:'list_difference(list_union(field('tags'), field('#shelf'), ','), list_union(list_union(field('#genre'), field('#length'), ','), field('#character'), ','),',')'}
Apparently the beginning
does nothing but if I remove it, it stops working. How do I need to edit it to make it correct? Now it does the job, but I think it's a little incorrect. Might get wrong results or something.
Are there any other mistakes?
And keep in mind that I don't even know how I managed to do this much
. That's my most complicated creation for calibre.