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