mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Remove the new virtual field "in_tag_browser" from displayable_fields
This commit is contained in:
parent
c824c23a38
commit
8863c7b9eb
@ -39,7 +39,7 @@ def displayable_field_keys(mi):
|
||||
continue
|
||||
if (
|
||||
m is not None and m.get('kind') == 'field' and m.get('datatype') is not None and
|
||||
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort') and
|
||||
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort', 'in_tag_browser') and
|
||||
not k.endswith('_index')
|
||||
):
|
||||
yield k
|
||||
|
@ -470,7 +470,7 @@ class FieldMetadata:
|
||||
return [k for k in self._tb_cats.keys()
|
||||
if self._tb_cats[k]['kind']=='field' and
|
||||
self._tb_cats[k]['datatype'] is not None and
|
||||
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort') and
|
||||
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort', 'in_tag_browser') and
|
||||
not self.is_series_index(k)]
|
||||
|
||||
def standard_field_keys(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user