From: Adam Dickmeiss Date: Tue, 17 May 2011 13:22:15 +0000 (+0200) Subject: yaz-ztest: 10 facet entries by default X-Git-Tag: v4.2.0~7 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8121243279bcd990bbbca2b80715467472003565;p=yaz-moved-to-github.git yaz-ztest: 10 facet entries by default --- diff --git a/ztest/ztest.c b/ztest/ztest.c index ff8a6b1..1f09c41 100644 --- 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);