Bug #1997926: in_tag_browser appears in Search & Replace

This commit is contained in:
Charles Haley 2022-12-04 15:48:21 +00:00
parent bfb5a2546e
commit eb1858165a

View File

@ -636,7 +636,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
if (f in ['author_sort'] or
(fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments', 'rating'] and
fm[f].get('search_terms', None) and
f not in ['formats', 'ondevice', 'series_sort']) or
f not in ['formats', 'ondevice', 'series_sort', 'in_tag_browser']) or
(fm[f]['datatype'] in ['int', 'float', 'bool', 'datetime'] and
f not in ['id', 'timestamp'])):
self.all_fields.append(f)