View Single Post
Old 10-19-2024, 10:27 AM   #145
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,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
I ran into a slightly strange issue when counting a custom column. Template tester it works right:
[...]
The expected number displays in the book list but not book details.
Ignoring the error doesn't fix the book details problem, but the submitted fix does.

Here is a copy of the changed file (calibre/utils/formatter.py) if you want to try it before @kovid accepts the change.
Attached Files
File Type: zip formatter.zip (14.7 KB, 301 views)

Last edited by chaley; 10-19-2024 at 10:29 AM.
chaley is offline   Reply With Quote