mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -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
|
continue
|
||||||
if (
|
if (
|
||||||
m is not None and m.get('kind') == 'field' and m.get('datatype') is not None and
|
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')
|
not k.endswith('_index')
|
||||||
):
|
):
|
||||||
yield k
|
yield k
|
||||||
|
@ -470,7 +470,7 @@ class FieldMetadata:
|
|||||||
return [k for k in self._tb_cats.keys()
|
return [k for k in self._tb_cats.keys()
|
||||||
if self._tb_cats[k]['kind']=='field' and
|
if self._tb_cats[k]['kind']=='field' and
|
||||||
self._tb_cats[k]['datatype'] is not None 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)]
|
not self.is_series_index(k)]
|
||||||
|
|
||||||
def standard_field_keys(self):
|
def standard_field_keys(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user