View Single Post
Old 07-03-2011, 04:12 AM   #96
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,499
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Artha View Post
The author search seems to work pretty well. I only used the precise serach, nothing fancy. Now, if I try to do a binary search here's what I get with the latest (today) calibre and plugin:
[CODE]calibre, version 0.8.8
ERROR: Unhandled exception: <b>AttributeError</b>:'TagsView' object has no attribute 'search_restriction'
@kiwidude: this is a casualty of Kovid refactoring of the tags_browser last week.

That attribute is now in gui2.tag_browser.model. However, depending on what you are using it for, you might want to use gui2.tag_browser.view.set_search_restriction() (to set the search restriction in the tag browser), or db.data.search_restriction (to retrieve the value stored with the data cache)
chaley is offline   Reply With Quote