mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5f75cbb7ce
commit
4173cd4380
@ -2874,7 +2874,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
|||||||
prefix = self.library_path
|
prefix = self.library_path
|
||||||
FIELDS = set(['title', 'authors', 'author_sort', 'publisher', 'rating',
|
FIELDS = set(['title', 'authors', 'author_sort', 'publisher', 'rating',
|
||||||
'timestamp', 'size', 'tags', 'comments', 'series', 'series_index',
|
'timestamp', 'size', 'tags', 'comments', 'series', 'series_index',
|
||||||
'uuid', 'pubdate', 'last_modified'])
|
'uuid', 'pubdate', 'last_modified', 'identifiers'])
|
||||||
for x in self.custom_column_num_map:
|
for x in self.custom_column_num_map:
|
||||||
FIELDS.add(x)
|
FIELDS.add(x)
|
||||||
data = []
|
data = []
|
||||||
@ -2891,7 +2891,6 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
|||||||
x['formats'] = []
|
x['formats'] = []
|
||||||
isbn = self.isbn(db_id, index_is_id=True)
|
isbn = self.isbn(db_id, index_is_id=True)
|
||||||
x['isbn'] = isbn if isbn else ''
|
x['isbn'] = isbn if isbn else ''
|
||||||
x['identifiers'] = self.get_identifiers(db_id, index_is_id=True)
|
|
||||||
if not x['authors']:
|
if not x['authors']:
|
||||||
x['authors'] = _('Unknown')
|
x['authors'] = _('Unknown')
|
||||||
x['authors'] = [i.replace('|', ',') for i in x['authors'].split(',')]
|
x['authors'] = [i.replace('|', ',') for i in x['authors'].split(',')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user