Quote:
Originally Posted by cheesegrater
hi there! first time poster, long time lurker.
disclaimer! i'm not a programmer and actually I know nothing about it.
i'm having a problem with the creation of a new column in calibre.
basically this new custom column should search into the tags of the book files and see if a particular tag is present, if it is it should state yes in the column space.
i'm using this template:
program: test(select(field('Tags'),'[tag that I need]'),'Yes','No')
it is something I pasted from a site and I have no idea if it is correct or no
as for the column type I'm using "column built from other columns".
if someone could help me I would be very greatful. thank you in advance
|
try this:
Code:
program:
str_in_list($tags, ',', 'your_tag_here', 'Yes', 'No')
That select function applies only to identifiers fields, AFAIK