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

(-)a/catalogue/search-history.pl (-1 / +2 lines)
Lines 46-52 if ( $action eq 'delete' ) { Link Here
46
        : q{};
46
        : q{};
47
    C4::Search::History::delete(
47
    C4::Search::History::delete(
48
        {
48
        {
49
            id => [ $cgi->param('id') ],
49
            userid => $loggedinuser,
50
            id     => [ $cgi->param('id') ],
50
        }
51
        }
51
    );
52
    );
52
    # Redirecting to this same url so the user won't see the search history link in the header
53
    # Redirecting to this same url so the user won't see the search history link in the header
(-)a/opac/opac-search-history.pl (-2 / +2 lines)
Lines 103-109 unless ( $loggedinuser ) { Link Here
103
        if ( @id ) {
103
        if ( @id ) {
104
            C4::Search::History::delete(
104
            C4::Search::History::delete(
105
                {
105
                {
106
                    id => [ $cgi->param('id') ],
106
                    userid => $loggedinuser,
107
                    id     => [ $cgi->param('id') ],
107
                }
108
                }
108
            );
109
            );
109
        } else {
110
        } else {
110
- 

Return to bug 16593