Quote:
Originally Posted by chaley
Could people running the latest beta (4.99.14) please verify that all column icon/color rules and composite columns still work? It is unfortunately possible that I broke something and I would rather know now than after calibre 5 is released. 
|
It all looks good here.
I have a few icon and colour rules across my libraries. Some are simple comparisons, but a few use general program mode.
My metadata plugboard that adds last read, rating, page and word count to the comments is working fine. That only adds the value and text if the value exists. And, I just realised I have versions in both template program and general program modes.
And as a last test, I changed one of the recent templates I wrote for someone here:
Code:
program:
test(
field('series'),
strcat('__Series__/',field('series'),'/',format_number(field('series_index'),'{0:02d}'),' - ',field('title'),' - ',field('author_sort')),
strcat(substr(field('author_sort'),0,1),'/',field('author_sort'),'/',field('title'))
)
To:
Code:
program:
if field('series') then
strcat('__Series__/',field('series'),'/',format_number(field('series_index'),'{0:02d}'),' - ',field('title'),' - ',field('author_sort'));
else
strcat(substr(field('author_sort'),0,1),'/',field('author_sort'),'/',field('title'))
fi
That is in a custom column and works perfectly.