Quote:
Originally Posted by PeterT
This custom column seems to work for adding a book to either a Reading or Finished shelf based on the pct read.
Code:
Lookup name: readstatus
Column Heading: Reading Status
Column Type: Column built from other columns
Template: {#koboreadpct:'cmp($, 100, cmp($, 0, '', '', 'Reading'), 'Finished', '')'}
with of course the corresponding change to add #readstatus to the list of fields used for shelving in either the Kobo or ExtendedKobo drivers. (I tend to update them both even though the Extended driver is normally disabled on my system).
In effect this is saying if the Pct Read is 100, the book is Finished, else if it's greater than 0, then the status is Reading.
|
I put in the reading status column and could not get a Reading shelf.
I duplicated the Finished column and called it Reading, with the same template as in readstatus I think and now I have a Reading shelf. Not sure what I was doing wrong with the readstatus thing, as the column was filled in correctly by the plugin.
Two columns is fine though one would be better
Helen