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:02:02 +0000 (21:02 +0200)
src/seshigh.c

index 3b49190..24ade48 100644 (file)
@@ -2693,7 +2693,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