mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add datetime times as valid fields in bulk metadata edit search/replace. There is no check for correctness.
This commit is contained in:
parent
1fbc201351
commit
cde350d706
@ -410,7 +410,7 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
|
||||
(fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments']
|
||||
and fm[f].get('search_terms', None)
|
||||
and f not in ['formats', 'ondevice']) or
|
||||
(fm[f]['datatype'] in ['int', 'float', 'bool'] and
|
||||
(fm[f]['datatype'] in ['int', 'float', 'bool', 'datetime'] and
|
||||
f not in ['id'])):
|
||||
self.all_fields.append(f)
|
||||
self.writable_fields.append(f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user