This commit is contained in:
Kovid Goyal 2016-07-14 15:19:12 +05:30
commit 1f45bb2502

View File

@ -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