We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0740a24 commit 1b1a2c8Copy full SHA for 1b1a2c8
1 file changed
Koha/Plugin/Fi/KohaSuomi/DI/Koha/Availability/Checks/Item.pm
@@ -388,7 +388,7 @@ sub pickup_locations {
388
})->unblessed;
389
390
foreach my $library (@$pickup_libraries) {
391
- if (!grep { $library->{branchcode} eq $_->{toBranch} } @$limits
+ if (!(grep { $library->{branchcode} eq $_->{toBranch} } @$limits)
392
&& $self->_pickup_location_allowed($library->{branchcode}, $patron, $context_cache)
393
) {
394
push @{$pickup_locations}, $library->{branchcode};
0 commit comments