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

(-)a/circ/pendingreserves.pl (-3 / +3 lines)
Lines 195-205 my $distinct_holds = Koha::Holds->search( Link Here
195
);
195
);
196
my @biblionumbers = uniq $distinct_holds->get_column('biblionumber');
196
my @biblionumbers = uniq $distinct_holds->get_column('biblionumber');
197
197
198
my @branchtransfers = map { $_->itemnumber } Koha::Item::Transfers->search({ datearrived => undef }, { columns => [ 'itemnumber' ], collapse => 1 });
199
my @waiting_holds = map { $_->itemnumber } Koha::Holds->search({'found' => 'W'}, { columns => [ 'itemnumber' ], collapse => 1 });
200
198
# make final reserves hash and fill with info
201
# make final reserves hash and fill with info
199
my $reserves;
202
my $reserves;
200
foreach my $bibnum ( @biblionumbers ){
203
foreach my $bibnum ( @biblionumbers ){
201
    my @branchtransfers = map { $_->itemnumber } Koha::Item::Transfers->search({ datearrived => undef }, { columns => [ 'itemnumber' ], collapse => 1 });
202
    my @waiting_holds = map { $_->itemnumber } Koha::Holds->search({'found' => 'W'}, { columns => [ 'itemnumber' ], collapse => 1 });
203
204
204
    my @items = Koha::Items->search(
205
    my @items = Koha::Items->search(
205
        {
206
        {
206
- 

Return to bug 24488