From: Adam Dickmeiss Date: Wed, 11 Nov 2015 13:50:27 +0000 (+0100) Subject: Fix rpn2cql fails for Bib-1 set in qry+conf YAZ-865 X-Git-Tag: v5.15.1~5 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=4eb90d87b9374b30b8ea4f9d5e70d509a11d9a58;p=yaz-moved-to-github.git Fix rpn2cql fails for Bib-1 set in qry+conf YAZ-865 --- diff --git a/src/cqltransform.c b/src/cqltransform.c index 1118dc2..415a6cf 100644 --- a/src/cqltransform.c +++ b/src/cqltransform.c @@ -340,6 +340,8 @@ const char *cql_lookup_reverse(cql_transform_t ct, { /* actual attribute */ Z_AttributeElement a_ae = *attributes->attributes[j]; + if (!compare_attr(e_ae, &a_ae)) + break; if (a_ae.attributeSet && &e_ae->attributeSet && !oid_oidcmp(a_ae.attributeSet, yaz_oid_attset_bib_1)) a_ae.attributeSet = 0;