]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1669522: Remove regex that caused duplication in author query
authorKathy Lussier <klussier@masslnc.org>
Thu, 2 Mar 2017 21:55:15 +0000 (16:55 -0500)
committerBen Shum <ben@evergreener.net>
Sat, 4 Mar 2017 23:20:57 +0000 (18:20 -0500)
commit797161f4511da49a3104c7d4ebafc9b5ae1a11df
tree1ae93c4e9e904bb5ccc0e711f15fd4bfadd973f2
parent7631172de7f0fc9658d77dff82447fe175741c74
LP#1669522: Remove regex that caused duplication in author query

In LP#1308090, a regex replacement was added to the normzalize_qterm block
that didn't work as intended. Instead of replacing the already-normalized qterm,
it added a new string to the qterm, causing the author and date terms to
duplicate in the resulting query when the link is clicked. Since the the
problem the regex was trying to solve appears to be an aesthetic one rather
than a functional one, this commit removes that regex.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/opac/parts/record/authors.tt2