diff --git a/config/vufind/searchspecs.yaml b/config/vufind/searchspecs.yaml index d22c956dcfcff5fd8f89ec1eeee790e4ad22502a..0c3d57fda05ddce1c1922b6c20e5855a9e3eb650 100644 --- a/config/vufind/searchspecs.yaml +++ b/config/vufind/searchspecs.yaml @@ -420,12 +420,9 @@ CallNumber: # Escape colons (unescape first to avoid double-escapes): - [preg_replace, "/(\\\:)/", ':'] - [preg_replace, '/:/', '\:'] - # Strip pre-existing trailing asterisks: + # Strip pre-existing trailing asterisks, then add a new one: - [preg_replace, "/\*+$/", ""] - # Ensure we have just one trailing asterisk. The trailing space inside - # the quotes has no effect on searching; it is a workaround for a - # Horde::YAML parsing glitch -- see VUFIND-160 in JIRA for details. - - [append, "* "] + - [append, "*"] QueryFields: callnumber: - [callnumber_exact, 1000]