View | Details | Raw Unified | Return to bug 14435
Collapse All | Expand All

(-)a/C4/Reports/Guided.pm (-4 / +2 lines)
Lines 641-653 sub get_saved_reports { Link Here
641
        }
641
        }
642
        if (my $keyword = $filter->{keyword}) {
642
        if (my $keyword = $filter->{keyword}) {
643
            push @cond, q|
643
            push @cond, q|
644
                       report LIKE ?
644
                       report_name LIKE ?
645
                    OR report_name LIKE ?
646
                    OR notes LIKE ?
645
                    OR notes LIKE ?
647
                    OR savedsql LIKE ?
646
                    OR savedsql LIKE ?
648
                    OR s.id = ?
647
                    OR s.id = ?
649
            |;
648
            |;
650
            push @args, "%$keyword%", "%$keyword%", "%$keyword%", "%$keyword%", $keyword;
649
            push @args, "%$keyword%", "%$keyword%", "%$keyword%", $keyword;
651
        }
650
        }
652
        if ($filter->{group}) {
651
        if ($filter->{group}) {
653
            push @cond, "report_group = ?";
652
            push @cond, "report_group = ?";
654
- 

Return to bug 14435