X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsru_facet.c;h=7821f6641a2a8c55a038dfdcb88fbf2dc1c31a30;hp=6802b15c3ba6e9f19df0d5439d7d473633125849;hb=01e36a11adc97a240cc595f89280c8a619770251;hpb=aab0b586a68a6d8df06b045d8043b434c0234bea diff --git a/src/sru_facet.c b/src/sru_facet.c index 6802b15..7821f66 100644 --- a/src/sru_facet.c +++ b/src/sru_facet.c @@ -259,8 +259,8 @@ void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n) p_terms = p2; } if (index_name) - ff->attributes = yaz_use_attribute_create(o, - index_name); + ff->attributes = + zget_AttributeList_use_string(o, index_name); if (p_terms) { xmlNode *p;