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
Branches
Tags
No related merge requests found
...@@ -502,20 +502,20 @@ CallNumber: ...@@ -502,20 +502,20 @@ CallNumber:
CustomMunge: CustomMunge:
callnumber_exact: callnumber_exact:
# Strip whitespace and quotes: # Strip whitespace and quotes:
- [preg_replace, '/[ "]/', ""] - [preg_replace, '/[ "]/', '']
# Escape colons (unescape first to avoid double-escapes): # Escape colons (unescape first to avoid double-escapes):
- [preg_replace, "/(\\\:)/", ':'] - [preg_replace, '/(\\:)/', ':']
- [preg_replace, '/:/', '\:'] - [preg_replace, '/:/', '\:']
# Strip pre-existing trailing asterisks: # Strip pre-existing trailing asterisks:
- [preg_replace, "/\*+$/", ""] - [preg_replace, '/\*+$/', '']
callnumber_fuzzy: callnumber_fuzzy:
# Strip whitespace and quotes: # Strip whitespace and quotes:
- [preg_replace, '/[ "]/', ""] - [preg_replace, '/[ "]/', '']
# Escape colons (unescape first to avoid double-escapes): # Escape colons (unescape first to avoid double-escapes):
- [preg_replace, "/(\\\:)/", ':'] - [preg_replace, '/(\\:)/', ':']
- [preg_replace, '/:/', '\:'] - [preg_replace, '/:/', '\:']
# Strip pre-existing trailing asterisks, then add a new one: # Strip pre-existing trailing asterisks, then add a new one:
- [preg_replace, "/\*+$/", ""] - [preg_replace, '/\*+$/', '']
- [append, "*"] - [append, "*"]
QueryFields: QueryFields:
callnumber-search: 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