projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c33ee
)
Show facets if present in search response
author
Dennis Schafroth
<dennis@indexdata.com>
Fri, 27 Aug 2010 11:27:30 +0000
(13:27 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Fri, 27 Aug 2010 11:27:30 +0000
(13:27 +0200)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
0e55021
..
ba217e7
100644
(file)
--- 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; i<res->num_records; i++)
handle_srw_record(res->records + i);
}