@shelvinglocloop = sort {$a->{value} cmp $b->{value}} @shelvinglocloop;
- my $patron_categories = Koha::Patron::Categories->search_limited({}, {order_by => ['categorycode']});
+ my $patron_categories = Koha::Patron::Categories->search_with_library_limits({}, {order_by => ['categorycode']});
$template->param(
CGIextChoice => $CGIextChoice,