diff --git a/mobile.netbiblio.php b/mobile.netbiblio.php index 150b8d9..1d93ee8 100644 --- a/mobile.netbiblio.php +++ b/mobile.netbiblio.php @@ -316,14 +316,14 @@ class NetBiblio extends WebService $bs = new BookSearch(); if (isset($queryArray['queryType'])) { - $bs->addSortField('author_s', SolrQuery::ORDER_ASC); - $bs->addSortField('title_s', SolrQuery::ORDER_ASC); + $bs->addSortField('author', SolrQuery::ORDER_ASC); + $bs->addSortField('title', SolrQuery::ORDER_ASC); $bs->addSortField('producer'); $bs->addSortField('mediatype', SolrQuery::ORDER_ASC); } else { $bs->addSortField('availabilitydate'); - $bs->addSortField('author_s', SolrQuery::ORDER_ASC); - $bs->addSortField('title_s', SolrQuery::ORDER_ASC); + $bs->addSortField('author', SolrQuery::ORDER_ASC); + $bs->addSortField('title', SolrQuery::ORDER_ASC); } if (isset($queryArray['queryText']) && strlen($queryArray['queryText']) > 0) {