From cffed002ca07aa9f420dc454b6e4f6509913ff68 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 10 Jul 2015 16:19:02 +0100 Subject: [PATCH] Bug 14435: Make the tests pass --- C4/Reports/Guided.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 5db2408..fe4a54e 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -641,13 +641,12 @@ sub get_saved_reports { } if (my $keyword = $filter->{keyword}) { push @cond, q| - report LIKE ? - OR report_name LIKE ? + report_name LIKE ? OR notes LIKE ? OR savedsql LIKE ? OR s.id = ? |; - push @args, "%$keyword%", "%$keyword%", "%$keyword%", "%$keyword%", $keyword; + push @args, "%$keyword%", "%$keyword%", "%$keyword%", $keyword; } if ($filter->{group}) { push @cond, "report_group = ?"; -- 2.1.0