View Single Post
Old 11-02-2011, 12:40 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The author and title filters are only used to filter results in the results window. There is no way to specify to a store plugin. specific attributes such as author or title. The query string is given to the plugin with attribute filters removed.

The vast majority of stores do not make a distinction when searching or support differentiating between attributes. This is a very poor way to implement searching. Since most stores don't support it, it's a bad design, and it makes it confusing for users the store plugin API does not support this.

What you need to do is run the search in your plugin multiple times for author and title. Then collect the results and pass the appropriate ones along.
user_none is offline   Reply With Quote