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

(-)a/circ/pendingreserves.pl (-2 / +1 lines)
Lines 194-200 if ( $holds->count ) { Link Here
194
# patrons count per biblio
194
# patrons count per biblio
195
my $patrons_count = {
195
my $patrons_count = {
196
    map { $_->{biblionumber} => $_->{patrons_count} } @{ Koha::Holds->search(
196
    map { $_->{biblionumber} => $_->{patrons_count} } @{ Koha::Holds->search(
197
            { 'suspend' => 0 },
197
            { 'suspend' => 0, 'found' => undef },
198
            {
198
            {
199
                select   => [ 'biblionumber', { count => { distinct => 'borrowernumber' } } ],
199
                select   => [ 'biblionumber', { count => { distinct => 'borrowernumber' } } ],
200
                as       => [qw( biblionumber patrons_count )],
200
                as       => [qw( biblionumber patrons_count )],
201
- 

Return to bug 38239