removing useless chars from search
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 16 May 2005 17:34:42 +0000 (17:34 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 16 May 2005 17:34:42 +0000 (17:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@732 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/fts.pm

index 6e38562..c6c64df 100644 (file)
@@ -9,6 +9,11 @@
                my $self = shift;
                my $term = shift;
 
+               $log->debug("Raw term: $term",DEBUG);
+
+               $term =~ s/\&//go;
+               $term =~ s/\|//go;
+
                $self = ref($self) || $self;
                $self = bless {} => $self;