From: Dennis Schafroth Date: Fri, 27 Aug 2010 11:27:30 +0000 (+0200) Subject: Show facets if present in search response X-Git-Tag: v4.1.0~25 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1c0ca5448add3823add4ba4993da0864e2d3657a;p=yaz-moved-to-github.git Show facets if present in search response --- diff --git a/client/client.c b/client/client.c index 0e55021..ba217e7 100644 --- a/client/client.c +++ b/client/client.c @@ -4315,6 +4315,9 @@ static void handle_srw_response(Z_SRW_searchRetrieveResponse *res) } if (res->numberOfRecords) printf("Number of hits: " ODR_INT_PRINTF "\n", *res->numberOfRecords); + if (res->facetList) { + display_facets(res->facetList); + } for (i = 0; inum_records; i++) handle_srw_record(res->records + i); }