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

(-)a/circ/pendingreserves.pl (-2 / +1 lines)
Lines 256-262 foreach my $bibnum ( @biblionumbers ){ Link Here
256
    # patrons with holds
256
    # patrons with holds
257
    my $patrons_count = Koha::Holds->search(
257
    my $patrons_count = Koha::Holds->search(
258
        { biblionumber => $bibnum },
258
        { biblionumber => $bibnum },
259
        { select => [ { distinct => 'borrowernumber' } ] }
259
        { distinct => 1, columns => qw(me.borrowernumber) }
260
    )->count;
260
    )->count;
261
    $reserves->{$bibnum}->{patrons_count} = $patrons_count;
261
    $reserves->{$bibnum}->{patrons_count} = $patrons_count;
262
262
263
- 

Return to bug 24488