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
Documentation manref.xml depends on local.ent MP-566
[yaz-moved-to-github.git]
/
src
/
cclfind.c
diff --git
a/src/cclfind.c
b/src/cclfind.c
index
8a74f5b
..
a5bde82
100644
(file)
--- a/
src/cclfind.c
+++ b/
src/cclfind.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-799,7
+799,9
@@
struct ccl_rpn_node *qualifiers_order(CCL_parser cclp,
{
if (!(p = search_terms(cclp, ap)))
return NULL;
{
if (!(p = search_terms(cclp, ap)))
return NULL;
- ccl_add_attr_numeric(p, attset, CCL_BIB1_REL, rel);
+ if (rel != 3 ||
+ !qual_val_type(ap, CCL_BIB1_REL, CCL_BIB1_REL_OMIT_EQUALS, 0))
+ ccl_add_attr_numeric(p, attset, CCL_BIB1_REL, rel);
return p;
}
return NULL;
return p;
}
return NULL;