Fix search for Android :
- field text does not exists anymore
This commit is contained in:
@@ -630,6 +630,10 @@ class NetBiblio extends WebService
|
||||
if($this->client != 'website' && in_array($type, array('title', 'author', 'reader'))) {
|
||||
// we don't want an exact search on mobile apps
|
||||
$type = $type.'_fr';
|
||||
} else if($type == 'text') {
|
||||
// The field 'text' is still used by the Android app but does not exists anymore
|
||||
// We use the default search fields in this case.
|
||||
$type = null;
|
||||
}
|
||||
|
||||
$bs->addQuery($queryArray['queryText'], $type);
|
||||
|
||||
Reference in New Issue
Block a user