From a5e32b4ad44032666e95e67dba5f6458b0c59d14 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 21 Jul 2013 15:37:28 +0530 Subject: [PATCH] Some missing API --- src/calibre/db/legacy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/db/legacy.py b/src/calibre/db/legacy.py index 94c35429b2..6992eab2b3 100644 --- a/src/calibre/db/legacy.py +++ b/src/calibre/db/legacy.py @@ -65,6 +65,7 @@ class LibraryDatabase(object): cache.init() self.data = View(cache) 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', 'multisort', 'search', 'search_getting_ids'): setattr(self, x, getattr(self.data, x))