mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Some missing API
This commit is contained in:
parent
30ee950706
commit
a5e32b4ad4
@ -65,6 +65,7 @@ class LibraryDatabase(object):
|
|||||||
cache.init()
|
cache.init()
|
||||||
self.data = View(cache)
|
self.data = View(cache)
|
||||||
self.id = self.data.index_to_id
|
self.id = self.data.index_to_id
|
||||||
|
self.row = self.index = self.data.id_to_index
|
||||||
for x in ('get_property', 'count', 'refresh_ids', 'set_marked_ids',
|
for x in ('get_property', 'count', 'refresh_ids', 'set_marked_ids',
|
||||||
'multisort', 'search', 'search_getting_ids'):
|
'multisort', 'search', 'search_getting_ids'):
|
||||||
setattr(self, x, getattr(self.data, x))
|
setattr(self, x, getattr(self.data, x))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user