Skip to content
Snippets Groups Projects
Commit 0ec02758 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-2.5'

parents 08fe624d e1659ada
No related merge requests found
......@@ -502,20 +502,20 @@ CallNumber:
CustomMunge:
callnumber_exact:
# Strip whitespace and quotes:
- [preg_replace, '/[ "]/', ""]
- [preg_replace, '/[ "]/', '']
# Escape colons (unescape first to avoid double-escapes):
- [preg_replace, "/(\\\:)/", ':']
- [preg_replace, '/(\\:)/', ':']
- [preg_replace, '/:/', '\:']
# Strip pre-existing trailing asterisks:
- [preg_replace, "/\*+$/", ""]
- [preg_replace, '/\*+$/', '']
callnumber_fuzzy:
# Strip whitespace and quotes:
- [preg_replace, '/[ "]/', ""]
- [preg_replace, '/[ "]/', '']
# Escape colons (unescape first to avoid double-escapes):
- [preg_replace, "/(\\\:)/", ':']
- [preg_replace, '/(\\:)/', ':']
- [preg_replace, '/:/', '\:']
# Strip pre-existing trailing asterisks, then add a new one:
- [preg_replace, "/\*+$/", ""]
- [preg_replace, '/\*+$/', '']
- [append, "*"]
QueryFields:
callnumber-search:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment