X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=97b8e79c1d7ad47772f349ae77c3bce50d268b3f;hb=51595f1f496ef99ccbe325f1984f46575fd46ea8;hp=ff8a6b1c0caaa7b2a6c3771353f6a9e09ffd7308;hpb=847dc126960b1bcc6ce8cef8a73e3606588770af;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index ff8a6b1..97b8e79 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** \file @@ -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);