mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
f7f7abd64e
@ -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