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

(-)a/C4/Reports/Guided.pm (-7 / +8 lines)
Lines 678-689 sub get_saved_reports { Link Here
678
            push @args, $author, $author;
678
            push @args, $author, $author;
679
        }
679
        }
680
        if (my $keyword = $filter->{keyword}) {
680
        if (my $keyword = $filter->{keyword}) {
681
            $keyword = "%$keyword%";
681
            push @cond, q|
682
            push @cond, "report LIKE ? OR
682
                       report LIKE ?
683
                         report_name LIKE ? OR
683
                    OR report_name LIKE ?
684
                         notes LIKE ? OR
684
                    OR notes LIKE ?
685
                         savedsql LIKE ?";
685
                    OR savedsql LIKE ?
686
            push @args, $keyword, $keyword, $keyword, $keyword;
686
                    OR s.id = ?
687
            |;
688
            push @args, "%$keyword%", "%$keyword%", "%$keyword%", "%$keyword%", $keyword;
687
        }
689
        }
688
        if ($filter->{group}) {
690
        if ($filter->{group}) {
689
            push @cond, "report_group = ?";
691
            push @cond, "report_group = ?";
690
- 

Return to bug 10706