mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 03:44:41 +02:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
bd1b10d3ae
1 changed files with 2 additions and 1 deletions
|
|
@ -327,7 +327,8 @@ def initialize(self, book_id):
|
|||
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…
Reference in a new issue