View Single Post
Old 10-14-2011, 08:16 AM   #1
Noughty
Addict
Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.
 
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
Question help with custom column

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
Code:
{#shelf:
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.
Noughty is offline   Reply With Quote