mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
1f45bb2502
@ -118,6 +118,9 @@ class CSV_XML(CatalogPlugin):
|
||||
if field.startswith('#'):
|
||||
item = db.get_field(entry['id'], field, index_is_id=True)
|
||||
if isinstance(item, (list, tuple)):
|
||||
if fm.get(field, {}).get('display', {}).get('is_names', False):
|
||||
item = ' & '.join(item)
|
||||
else:
|
||||
item = ', '.join(item)
|
||||
elif field == 'library_name':
|
||||
item = current_library
|
||||
|
Loading…
x
Reference in New Issue
Block a user