]> git.evergreen-ils.org Git - Evergreen.git/commit
Correctly quote regexp-y characters in phrase quoting helper
authorMike Rylander <mrylander@gmail.com>
Fri, 24 Feb 2012 18:40:06 +0000 (13:40 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 24 Feb 2012 18:51:08 +0000 (13:51 -0500)
commit90822bae307bdf64007ca7f18295809c4f525420
tree1dd88c00ebe3e3a67ec6862e250dd055076f4089
parent8cfa6fff805686e4f998d85a335b23562c2a9a8e
Correctly quote regexp-y characters in phrase quoting helper

There was one extra character that caused the use of quotemeta() to not
actually happen.  This broke two things:

  1) phrase searching when the phrase had certain special characters in it
        -- test case: "c++"
  2) use of relevance bumps in the same situation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm