Bug 23271: Replace search_limited with search_with_library_limits
[koha-ffzg.git] / Koha / Template / Plugin / Categories.pm
index 140f12a..59d3588 100644 (file)
@@ -25,7 +25,7 @@ use Koha::Patron::Categories;
 
 sub all {
     my ( $self, $params ) = @_;
-    return Koha::Patron::Categories->search_limited($params);
+    return Koha::Patron::Categories->search_with_library_limits($params);
 }
 
 sub GetName {