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

(-)a/catalogue/itemsearch.pl (-1 / +1 lines)
Lines 222-228 if (scalar keys %params > 0) { Link Here
222
222
223
    if ($format eq 'html') {
223
    if ($format eq 'html') {
224
        # Build pagination bar
224
        # Build pagination bar
225
        my $url = $cgi->url(-absolute => 1);
225
        my $url = '/cgi-bin/koha/catalogue/itemsearch.pl';
226
        my @params;
226
        my @params;
227
        foreach my $p (keys %params) {
227
        foreach my $p (keys %params) {
228
            my @v = $cgi->param($p);
228
            my @v = $cgi->param($p);
(-)a/catalogue/search-history.pl (-2 / +1 lines)
Lines 50-57 if ( $action eq 'delete' ) { Link Here
50
        }
50
        }
51
    );
51
    );
52
    # Redirecting to this same url so the user won't see the search history link in the header
52
    # Redirecting to this same url so the user won't see the search history link in the header
53
    my $uri = $cgi->url();
53
    print $cgi->redirect('/cgi-bin/koha/catalogue/search-history.pl');
54
    print $cgi->redirect($uri);
55
54
56
# Showing search history
55
# Showing search history
57
} else {
56
} else {
(-)a/circ/waitingreserves.pl (-1 / +1 lines)
Lines 75-81 if ($item) { Link Here
75
if ( C4::Context->preference('IndependentBranches') ) {
75
if ( C4::Context->preference('IndependentBranches') ) {
76
    undef $all_branches;
76
    undef $all_branches;
77
} else {
77
} else {
78
    $template->param( all_branches_link => $input->url . '?allbranches=1' )
78
    $template->param( all_branches_link => '/cgi-bin/koha/circ/waitingreserves.pl' . '?allbranches=1' )
79
      unless $all_branches;
79
      unless $all_branches;
80
}
80
}
81
$template->param( all_branches => 1 ) if $all_branches;
81
$template->param( all_branches => 1 ) if $all_branches;
(-)a/opac/opac-search-history.pl (-5 / +2 lines)
Lines 72-79 unless ( $loggedinuser ) { Link Here
72
        C4::Search::History::set_to_session({ cgi => $cgi, search_history => \@searches });
72
        C4::Search::History::set_to_session({ cgi => $cgi, search_history => \@searches });
73
73
74
        # Redirecting to this same url so the user won't see the search history link in the header
74
        # Redirecting to this same url so the user won't see the search history link in the header
75
        my $uri = $cgi->url();
75
        print $cgi->redirect(-uri => '/cgi-bin/koha/opac-search-history.pl');
76
        print $cgi->redirect(-uri => $uri);
77
    # Showing search history
76
    # Showing search history
78
    } else {
77
    } else {
79
        # Getting the searches from session
78
        # Getting the searches from session
Lines 115-122 unless ( $loggedinuser ) { Link Here
115
            );
114
            );
116
        }
115
        }
117
        # Redirecting to this same url so the user won't see the search history link in the header
116
        # Redirecting to this same url so the user won't see the search history link in the header
118
        my $uri = $cgi->url();
117
        print $cgi->redirect(-uri => '/cgi-bin/koha/opac-search-history.pl');
119
        print $cgi->redirect($uri);
120
118
121
    # Showing search history
119
    # Showing search history
122
    } else {
120
    } else {
123
- 

Return to bug 15005