diff --git a/mobile.netbiblio.php b/mobile.netbiblio.php index 3d3e5b1..3641a21 100644 --- a/mobile.netbiblio.php +++ b/mobile.netbiblio.php @@ -326,6 +326,12 @@ class NetBiblio extends WebService if (isset($queryArray['queryText']) && strlen($queryArray['queryText']) > 0) { $type = isset($queryArray['queryType']) ? $queryArray['queryType'] : null; + + // this is done for compatibility reason with the older iOS and Android apps + if($type == 'producer') { + $type = 'producerCode'; + } + $bs->addQuery($queryArray['queryText'], $type); }