LP 1501781: Make patron name search diacritic/space insensitive.
authorJason Stephenson <jason@sigio.com>
Thu, 17 Mar 2016 12:01:54 +0000 (08:01 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 17 Mar 2016 21:54:27 +0000 (17:54 -0400)
commitd1a18ffc811c5242c19d0d846407a355b42c7fe8
tree9cea026767ff9b239f54c56e532acfce5a915f58
parentaa0805e15ac33b1d1da1d6c464ccc5a5e80c1e04
LP 1501781: Make patron name search diacritic/space insensitive.

This commit adds the necessary code to storage actor publisher to use
the new evergreen.unaccent_and_squash db function when doing a patron
name search.

It is based on code originally by Dan Pearl, but then modified to
remove a dependency on a new Perl module by calling the db function on
the search input as well.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm