mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -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:
|
try:
|
||||||
return cache[field]
|
return cache[field]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
cache[field] = 'RECURSIVE_COMPOSITE FIELD (Metadata) ' + field
|
||||||
ret = cache[field] = formatter.safe_format(
|
ret = cache[field] = formatter.safe_format(
|
||||||
metadata['display']['composite_template'],
|
metadata['display']['composite_template'],
|
||||||
mi,
|
mi,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user