mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 18:45:37 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ def prepare_search_and_replace(self):
|
|||
(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…
Reference in a new issue