View Single Post
Old 06-10-2013, 12:10 AM   #13
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
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.
PeterT is offline   Reply With Quote