mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
c90d3738c0
commit
b585b25f51
@ -430,9 +430,9 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
|
||||
fm = self.db.field_metadata
|
||||
for f in fm:
|
||||
if (f in ['author_sort'] or
|
||||
(fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments']
|
||||
and fm[f].get('search_terms', None)
|
||||
and f not in ['formats', 'ondevice', 'series_sort']) or
|
||||
(fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments'] and
|
||||
fm[f].get('search_terms', None) and
|
||||
f not in ['formats', 'ondevice', 'series_sort']) or
|
||||
(fm[f]['datatype'] in ['int', 'float', 'bool', 'datetime'] and
|
||||
f not in ['id', 'timestamp'])):
|
||||
self.all_fields.append(f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user