From: Dennis Schafroth Date: Tue, 31 Aug 2010 10:42:04 +0000 (+0200) Subject: Fix: No default of 10 terms. Dont send terms unless limit is set. X-Git-Tag: v4.1.0~18^2^2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b8b750a84e0c9f7253d210f9604e385bd84a7569;p=yaz-moved-to-github.git Fix: No default of 10 terms. Dont send terms unless limit is set. --- diff --git a/ztest/ztest.c b/ztest/ztest.c index 50872a3..c4e7b49 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -253,7 +253,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 = 10; + attrvalues.limit = 0; yaz_facet_attr_get_z_attributes(facet_list->elements[index]->attributes, &attrvalues); yaz_log(YLOG_LOG, "Attributes: %s %d ", attrvalues.useattr, attrvalues.limit);