From 15334926adf722083f03553eed575d056e907ad1 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 10 Jan 2011 16:37:02 +0000 Subject: [PATCH] (bug #3737) fix title search in order history Signed-off-by: Henri-Damien LAURENT Signed-off-by: Colin Campbell Signed-off-by: Chris Cormack --- C4/Acquisition.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 984c15a5f7..c1b837bc43 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1554,6 +1554,7 @@ sub GetHistory { if ( defined $title ) { $query .= " AND biblio.title LIKE ? "; + $title =~ s/\s+/%/g; push @query_params, "%$title%"; } -- 2.39.5