View Single Post
Old Today, 01:45 PM   #13
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,306
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kovidgoyal View Post
Why not use raw_field? Or $$field_name if you want to avoid functions.
If you mean in place of the template() call, it's nice to get things like comma separators in numbers.

If you mean in place of the field_exists() or cmp() calls, I don't understand what you mean.


FYI, I've submitted PR3022:
Quote:
Turns out Create Catalog already used the calibre formatter for settings from section_list_templates.conf, so I re-used that.

Note that Create Catalog's pre-existing ideas of what title, author, etc should be still take precedence for maximum backward compatibility and reuse of existing code.

PR also includes minor fix for section_list_templates.conf By Date Added handling that is only revealed if you add something to the by_month_added_* settings from the mi and not in the coded list.
I didn't include thiago.eec's changes, but I appreciate having seen them; thanks.
JimmXinu is offline   Reply With Quote