[Koha-patches] [PATCH] (bug #3737) fix title search in order history

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Thu Oct 29 16:47:40 CET 2009


---
 C4/Acquisition.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm
index b3cd99c..31c068c 100644
--- a/C4/Acquisition.pm
+++ b/C4/Acquisition.pm
@@ -1144,6 +1144,7 @@ sub GetHistory {
         
         if ( defined $title ) {
             $query .= " AND biblio.title LIKE ? ";
+            $title =~ s/\s+/%/g;
             push @query_params, "%$title%";
         }
 
-- 
1.6.0.4




More information about the Koha-patches mailing list