LP#1669522: Remove regex that caused duplication in author query user/kmlussier/lp1669522-fix-duplicate-author-query
authorKathy Lussier <klussier@masslnc.org>
Thu, 2 Mar 2017 21:55:15 +0000 (16:55 -0500)
committerKathy Lussier <klussier@masslnc.org>
Thu, 2 Mar 2017 21:55:15 +0000 (16:55 -0500)
commit99f74f198a7dd80c335bb7d29ce6ef7d26d9646f
treec9a7d0bc424886f0ea55565a42439ef79c610cd0
parent4f6424cace45bb0e3d0d6f638ac9700e154231ae
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>
Open-ILS/src/templates/opac/parts/record/authors.tt2