Add a new config item to ignore a category in search. Simplify the queries. re #123

This commit is contained in:
Sébastien Lucas 2013-12-08 21:01:17 +01:00
parent 21f31d92aa
commit 7ba85d150b
3 changed files with 56 additions and 19 deletions

View file

@ -234,3 +234,15 @@
* This item is used as regular expression so "." will force server side rendering for all devices
*/
$config['cops_server_side_render'] = "Kindle|EBRD1101|EBRD1201|cybook";
/*
* Specify the ignored categories with autocomplete search and standard search
* Meaning that if you don't want to search in publishers or tags just add them from the list
* Only accepted values :
* - author
* - book
* - series
* - tag
* - publisher
*/
$config ['cops_ingored_search_scope'] = array ();