From: Nahuel ANGELINETTI Date: Thu, 29 Oct 2009 15:47:17 +0000 (+0100) Subject: (bug #3737) fix title search in order history X-Git-Tag: v3.00.06~16 X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=ad302c39847331bc53ef493770923441702ca719 (bug #3737) fix title search in order history --- 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%"; }