mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Handle recursive templates in composite columns
This commit is contained in:
parent
f3af580d5e
commit
7460446395
1 changed files with 1 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ def composite_getter(mi, field, metadata, book_id, cache, formatter, template_ca
|
|||
try:
|
||||
return cache[field]
|
||||
except KeyError:
|
||||
cache[field] = 'RECURSIVE_COMPOSITE FIELD (Metadata) ' + field
|
||||
ret = cache[field] = formatter.safe_format(
|
||||
metadata['display']['composite_template'],
|
||||
mi,
|
||||
|
|
|
|||
Loading…
Reference in a new issue