From 1c0ca5448add3823add4ba4993da0864e2d3657a Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 27 Aug 2010 13:27:30 +0200 Subject: [PATCH] Show facets if present in search response --- client/client.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 1.7.10.4