mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove all references to the series sort virtual field from the GUI
This commit is contained in:
parent
c0057e829f
commit
c9318785d0
@ -440,7 +440,7 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
|
||||
if (f in ['author_sort'] or
|
||||
(fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments']
|
||||
and fm[f].get('search_terms', None)
|
||||
and f not in ['formats', 'ondevice']) or
|
||||
and f not in ['formats', 'ondevice', 'series_sort']) or
|
||||
(fm[f]['datatype'] in ['int', 'float', 'bool', 'datetime'] and
|
||||
f not in ['id', 'timestamp'])):
|
||||
self.all_fields.append(f)
|
||||
|
@ -452,7 +452,7 @@ class FieldMetadata(dict):
|
||||
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') and
|
||||
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort') and
|
||||
not self.is_series_index(k)]
|
||||
|
||||
def standard_field_keys(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user