LP#118066: fix searches that failed because punctuation was a token in query
authorGalen Charlton <gmc@esilibrary.com>
Tue, 14 May 2013 19:33:54 +0000 (15:33 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 4 Jun 2013 18:17:32 +0000 (14:17 -0400)
commitb8f6ef82e6eb196b02c51e53e44420792770ff98
treefa6e8724440891f105a2b00bc51760bc52cfce29
parent0bef90b0203feb0178b052b929c40a295b4752e2
LP#118066: fix searches that failed because punctuation was a token in query

When building the text array literal to pass to evergreen.rel_bump,
make sure that tokens that get {search_}normalize{d} away
don't result in syntax errors.

With this patch, searches like the following will work again:

keyword:Take me to the river / Al Green and Mabon

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm