Posting the PM here since you're likely to get more input and it might help others, too.
Quote:
Originally Posted by Tanjamuse
I have the following category, which you gave me part of:
Code:
program:
uc = user_categories();
icon = test (or(field ('#cloud'),field ('#lists')), '', 'list_uninteresting.png');
str_in_list(uc,',','Uninteresting',icon,'')
I have added sub categories to the Uninteresting category but would like to have this rule apply to all sub categories, do I have to add them all (and how do I formulate that) or can there be a rule for just the top one (Uninteresting) and then the rest of them will also use that?
|
I'm actually not sure. To be honest, I don't use icon rules and have only recently started dipping my toes into User Categories.
Looking at the Calibre function reference for
str_in_list, it seems like it should only apply to the top Uninteresting category.
Perhaps you could use (
contains) instead?
Code:
contains(uc,'Uninteresting',icon,'')