/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
{
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;