mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-01 06:42:27 -04:00
See https://www.mobileread.com/forums/showthread.php?p=4265937#post4265937 for an explanation. The "exotic" part is changing _map_filtered to a property with a setter. The setter constructs a dict {book_id:row}. view.id_to_index() uses the dict instead of .index on the list.