mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Handle recursive templates in composite columns
This commit is contained in:
parent
f3af580d5e
commit
7460446395
@ -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…
x
Reference in New Issue
Block a user