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

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

Return to bug 24488