GFS: look for facets in additionalSearchInfo
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Sep 2013 19:00:11 +0000 (21:00 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Sep 2013 19:00:11 +0000 (21:00 +0200)
src/seshigh.c

index a9a3cba..d357095 100644 (file)
@@ -2681,7 +2681,9 @@ static Z_APDU *process_searchRequest(association *assoc, request *reqb)
         bsrr->errcode = 0;
         bsrr->errstring = NULL;
         bsrr->search_info = NULL;
-        bsrr->search_input = req->otherInfo;
+        bsrr->search_input = req->additionalSearchInfo;
+        if (!bsrr->search_input)
+            bsrr->search_input = req->otherInfo;
         bsrr->present_number = *req->mediumSetPresentNumber;
 
         if (assoc->server && assoc->server->cql_transform