Bug 23271: Replace search_limited with search_with_library_limits
[koha-ffzg.git] / reports / cat_issues_top.pl
index 28025cc..ee0c092 100755 (executable)
@@ -132,7 +132,7 @@ if ($do_it) {
 
     @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,