mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-24 09:59:34 -04:00
Allow the author template to return an empty result
This commit is contained in:
parent
58409ed3c0
commit
3aaa938481
@ -1456,7 +1456,7 @@ class BookshelfView(MomentumScrollMixin, QAbstractScrollArea):
|
||||
mi = self.dbref().get_proxy_metadata(book_id)
|
||||
rslt = mi.formatter.safe_format(
|
||||
self.template_author, mi, TEMPLATE_ERROR, mi, column_name='authors', template_cache=self.template_cache)
|
||||
return rslt or _('Unknown')
|
||||
return rslt or ''
|
||||
|
||||
# Miscellaneous methods
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user