Rename yaz_use_attribute_create to zget_AttributeList_use_string
[yaz-moved-to-github.git] / src / sru_facet.c
index 6802b15..7821f66 100644 (file)
@@ -259,8 +259,8 @@ void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n)
                             p_terms = p2;
                     }
                     if (index_name)
                             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;
                     if (p_terms)
                     {
                         xmlNode *p;