Lines 408-414
my %is_nolimit = map { $_ => 1 } @nolimits;
Link Here
|
408 |
if($params->{'multibranchlimit'}) { |
408 |
if($params->{'multibranchlimit'}) { |
409 |
my $search_group = Koha::Library::Groups->find( $params->{multibranchlimit} ); |
409 |
my $search_group = Koha::Library::Groups->find( $params->{multibranchlimit} ); |
410 |
my @libraries = $search_group->all_libraries; |
410 |
my @libraries = $search_group->all_libraries; |
411 |
my $multibranch = '('.join( " or ", map { 'branch: ' . $_->branchcode } @libraries ) .')'; |
411 |
my $multibranch = '('.join( " OR ", map { 'homebranch: ' . $_->branchcode } @libraries ) .')'; |
412 |
push @limits, $multibranch if ($multibranch ne '()'); |
412 |
push @limits, $multibranch if ($multibranch ne '()'); |
413 |
} |
413 |
} |
414 |
|
414 |
|