Make query parser a bit more careful when converting convenience classes to search...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Sep 2010 20:22:34 +0000 (20:22 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Sep 2010 20:22:34 +0000 (20:22 +0000)
commit6f937e333105e3e0c573d4a719c8be941296151a
treedb4c3d76417db6c936c533395190726ca0d4f59a
parent67c6dd553dee2b893b79c1e9e7b71704a48f1750
Make query parser a bit more careful when converting convenience classes to search classes

Queries like "Heart disease: a global problem" were getting converted to series searches
due to the trailing "se:" in the search terms. This change ensures that the convenience
class is either at the start of the input or preceded by whitespace.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@17847 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm