mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Do not sort is_name custom columns when displaying their value in the metadata editor (single).
This commit is contained in:
parent
fba4c4201d
commit
fd990f51e1
@ -327,7 +327,8 @@ class Text(Base):
|
||||
self.widgets[1].update_items_cache(values)
|
||||
val = self.db.get_custom(book_id, num=self.col_id, index_is_id=True)
|
||||
if isinstance(val, list):
|
||||
val.sort(key=sort_key)
|
||||
if not self.col_metadata.get('display', {}).get('is_names', False):
|
||||
val.sort(key=sort_key)
|
||||
self.initial_val = val
|
||||
val = self.normalize_db_val(val)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user