Lines 425-431
my %is_nolimit = map { $_ => 1 } @nolimits;
Link Here
|
425 |
if($params->{'multibranchlimit'}) { |
425 |
if($params->{'multibranchlimit'}) { |
426 |
my $library_category = Koha::LibraryCategories->find( $params->{multibranchlimit} ); |
426 |
my $library_category = Koha::LibraryCategories->find( $params->{multibranchlimit} ); |
427 |
my @libraries = $library_category->libraries; |
427 |
my @libraries = $library_category->libraries; |
428 |
my $multibranch = '('.join( " or ", map { 'branch: ' . $_->branchcode } @libraries ) .')'; |
428 |
my $multibranch = '('.join( " or ", map { 'branch: ' . $_->id } @libraries ) .')'; |
429 |
push @limits, $multibranch if ($multibranch ne '()'); |
429 |
push @limits, $multibranch if ($multibranch ne '()'); |
430 |
} |
430 |
} |
431 |
|
431 |
|