projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CCL: fix regression introduced in YAZ-781
[yaz-moved-to-github.git]
/
src
/
cclfind.c
diff --git
a/src/cclfind.c
b/src/cclfind.c
index
2c8c9fa
..
c03bdd3
100644
(file)
--- a/
src/cclfind.c
+++ b/
src/cclfind.c
@@
-723,7
+723,7
@@
static struct ccl_rpn_node *search_term_x(CCL_parser cclp,
struct ccl_rpn_attr *attr;
for (attr = ccl_qual_get_attr(qa[i]); attr; attr = attr->next)
struct ccl_rpn_attr *attr;
for (attr = ccl_qual_get_attr(qa[i]); attr; attr = attr->next)
- if (attr->type == 1)
+ if (attr->type == 1 && i == 0)
{
struct ccl_rpn_node *tmp2;
tmp2 = ccl_term_one_use(cclp, cclp->look_token,
{
struct ccl_rpn_node *tmp2;
tmp2 = ccl_term_one_use(cclp, cclp->look_token,