View Single Post
Old 12-26-2022, 12:25 PM   #4
Lys
Groupie
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 166
Karma: 727278
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by ownedbycats View Post
This template will display hierarchical tags as separate items and remove any duplicate items.
To remove duplicates, I'm using this code (#genre is my custom hierarchical column):

Code:
list_remove_duplicates(re($#genre, '\.', ','), ',')
But I'm not sure if there's any setback in using list_remove_duplicates function instead of yours


Back to OP question, I'm also using a composite column to set the reading status (Reading, DNF, Finished) from the reading % returned from KoboUtilities plugin:

Code:
{#percent_read:'cmp($, 100, cmp($, 0, 'DNF', '', 'Reading'), 'Finished', '')'}
Lys is offline   Reply With Quote