AutoSuggest: prevent building a bad tsquery when user types leading spaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Feb 2012 19:57:39 +0000 (14:57 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 20 Feb 2012 19:22:27 +0000 (14:22 -0500)
commite712065f4093aae593ace21dd9d8127d15621a51
treef9dfb539ce2bf721361db40642a4af2f699f2d4a
parentc9f2f078980d8969277593a412dff6b336736757
AutoSuggest: prevent building a bad tsquery when user types leading spaces

The problem used to bubble up and manifest as an Apache 500 error for
the user.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AutoSuggest.pm