View Single Post
Old 08-13-2020, 01:29 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,454
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Going to guess the answer here is 'no,' but:

I have some books in a series that doesn't have a specific order. I set all the series index to "0" in this case. Is there some way to hide the 0s in specific in the column/book details panel?

Assuming you want to see "Foo [11]" when there is a series index, and "Foo" when there isn't (index == 0), the best solution is a composite column. Something like
Code:
{series} {series_index:'cmp($, 0, '', '',strcat('[', $, ']'))'}
You will still need to use the series column for sorting.
chaley is offline   Reply With Quote