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

(-)a/circ/waitingreserves.pl (-1 / +4 lines)
Lines 44-49 my $item = $input->param('itemnumber'); Link Here
44
my $borrowernumber = $input->param('borrowernumber');
44
my $borrowernumber = $input->param('borrowernumber');
45
my $fbr            = $input->param('fbr') || '';
45
my $fbr            = $input->param('fbr') || '';
46
my $tbr            = $input->param('tbr') || '';
46
my $tbr            = $input->param('tbr') || '';
47
my $all_branches   = $input->param('allbranches') || '';
47
48
48
my $cancel;
49
my $cancel;
49
50
Lines 90-99 if ($item) { Link Here
90
        ModItemTransfer( $item, $fbr, $tbr );
91
        ModItemTransfer( $item, $fbr, $tbr );
91
    }
92
    }
92
}
93
}
94
$template->param( all_branches_link => $input->url . '?allbranches=1&' . $input->query_string )
95
  unless $all_branches;
93
96
94
my (@reservloop, @overloop);
97
my (@reservloop, @overloop);
95
my ($reservcount, $overcount);
98
my ($reservcount, $overcount);
96
my @getreserves = $default ? GetReservesForBranch($default) : GetReservesForBranch();
99
my @getreserves = $all_branches ? GetReservesForBranch() : GetReservesForBranch($default);
97
# get reserves for the branch we are logged into, or for all branches
100
# get reserves for the branch we are logged into, or for all branches
98
101
99
my $today = Date_to_Days(&Today);
102
my $today = Date_to_Days(&Today);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl (-2 / +6 lines)
Lines 38-44 $.tablesorter.addParser({ Link Here
38
    <div id="yui-main">
38
    <div id="yui-main">
39
    <div class="yui-g">
39
    <div class="yui-g">
40
40
41
        <h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" --></h2>
41
        <h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" -->
42
            <!-- TMPL_IF NAME="all_branches_link" -->
43
            <span style="margin-left:20px"><a href="<!-- TMPL_VAR NAME="all_branches_link" -->">
44
            View all branches</a></span>
45
            <!-- /TMPL_IF -->
46
        </h2>
42
        <!-- TMPL_IF NAME="messagetransfert" -->
47
        <!-- TMPL_IF NAME="messagetransfert" -->
43
            <div>
48
            <div>
44
                <h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->) must transfered</h2>
49
                <h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->) must transfered</h2>
45
- 

Return to bug 2367