From ec7e2710f5691996ba8045a3aa980e522fb07c02 Mon Sep 17 00:00:00 2001 From: Gilles Crettenand Date: Wed, 13 May 2015 15:40:05 +0200 Subject: [PATCH] Adapt to new Solr config --- mobile.netbiblio.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {