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:
b41a475
)
yaz-ztest: 10 facet entries by default
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 17 May 2011 13:22:15 +0000
(15:22 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 17 May 2011 13:22:15 +0000
(15:22 +0200)
ztest/ztest.c
patch
|
blob
|
history
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
ff8a6b1
..
1f09c41
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-256,7
+256,7
@@
Z_OtherInformation *build_facet_response(ODR odr, Z_FacetList *facet_list) {
for (index = 0; index < facet_list->num; index++) {
struct yaz_facet_attr attrvalues;
yaz_facet_attr_init(&attrvalues);
- attrvalues.limit = 0;
+ attrvalues.limit = 10;
yaz_facet_attr_get_z_attributes(facet_list->elements[index]->attributes,
&attrvalues);
yaz_log(YLOG_LOG, "Attributes: %s %d ", attrvalues.useattr, attrvalues.limit);