From ad302c39847331bc53ef493770923441702ca719 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Thu, 29 Oct 2009 16:47:17 +0100 Subject: [PATCH] (bug #3737) fix title search in order history --- C4/Acquisition.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 3e274fec24..88f0c6dd36 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1142,6 +1142,7 @@ sub GetHistory { if ( defined $title ) { $query .= " AND biblio.title LIKE ? "; + $title =~ s/\s+/%/g; push @query_params, "%$title%"; } -- 2.39.5