diff --git a/NetBiblio.php b/NetBiblio.php index bb7f18e..491ba08 100644 --- a/NetBiblio.php +++ b/NetBiblio.php @@ -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);