mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9f09120346
commit
20817c3992
@ -822,7 +822,7 @@ class Cache(object):
|
||||
get_metadata, lang_map, all_book_ids)
|
||||
except KeyError:
|
||||
if field == 'id':
|
||||
ans = {bid:bid for bid in ids_to_sort}
|
||||
ans = {bid:bid for bid in all_book_ids}
|
||||
else:
|
||||
ans = virtual_fields[fm.get(field, field)].sort_keys_for_books(
|
||||
get_metadata, lang_map, all_book_ids)
|
||||
|
Loading…
x
Reference in New Issue
Block a user