Quote:
Originally Posted by chaley
It works for me using an integer column. What exactly is the type of the kobo_percent_read column? Is it float, int, or (shudder) text? And what exactly are the values in the column?
You might be able to make it work using this template that instructs calibre to treat the values as numbers even if they are declared as text.
Code:
{#kobo_percent_read:'switch_if($ >=# 100, 'finished', $ <=# 0, 'unread', 'reading')'}
|
This one works perfectly, thank you! As far as I can tell the column is an integer, it was created by the Kobo Utilities plugin and shows up as integer in the preferences