08-09-2024, 08:22 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite & reMarkable 2
|
Calculated field for Read column ?
Hello,
I am now using the Reading Goal plugin to manage my reading progress. I sometime use Calibre Web to access my library and it requires a Read field to filter Read or unread books. Is there a way to have the Read field defined such as it will be True if the value of the progress field is 100% ? Otherwise, I often forget to manually keep them in sync. Thanks ! |
08-09-2024, 06:08 PM | #2 |
Custom User Title
Posts: 9,558
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: ## You can remove this if you don't want it, just change the next 'elif' to an 'if' if ($$#percentread >=#1 && $$#percentread <=#99) then 'Currently Reading' elif $$#percentread >=#100 then 'Read' ## Change 'Undefined' to '' if you prefer a null value elif $$#percentread == 'None' then 'Undefined' elif $$#percentread >=#0 then 'Unread' fi Last edited by ownedbycats; 08-09-2024 at 08:30 PM. |
Advert | |
|
09-06-2024, 11:27 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite & reMarkable 2
|
Thanks, it works fine !
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Split pubdate from Title field into custom column | nano5 | Library Management | 0 | 05-19-2024 07:11 AM |
Custom Column question - Date field was last modified | Comfy.n | Calibre | 12 | 09-21-2022 02:10 AM |
Column built from other column : Mark read if evaluated | Cmely | Library Management | 1 | 02-26-2017 10:07 AM |
Author Mgmt -Links field/column Lookup Name? | jecilop | Library Management | 7 | 09-01-2014 06:30 PM |
Default value for read field (Yes/No-field) | opitzs | Library Management | 3 | 11-09-2011 08:17 AM |