https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25193 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- my $res = Koha::Holds->search({ biblionumber => $item->biblionumber, borrowernumber => $patron->borrowernumber })->next; next unless $item->holdingbranch eq $res->branchcode; What if a given patron has several holds on the same record? Should not we loop on the different holds instead of testing only the first one? -- You are receiving this mail because: You are watching all bug changes.