From 83aa63b31119568b5fbc112e7b021257e2c55b9e Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 25 Jan 2024 16:52:13 +0000 Subject: [PATCH] Bug 26297: (QA follow-up) Use search_with_library_limits --- Koha/REST/V1/Patrons/Categories.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/Patrons/Categories.pm b/Koha/REST/V1/Patrons/Categories.pm index b07edc4cc5e..c0de65e3878 100644 --- a/Koha/REST/V1/Patrons/Categories.pm +++ b/Koha/REST/V1/Patrons/Categories.pm @@ -39,7 +39,7 @@ sub list { my $c = shift->openapi->valid_input or return; return try { - my $patron_categories_rs = Koha::Patron::Categories->search; + my $patron_categories_rs = Koha::Patron::Categories->search_with_library_limits; my $categories = $c->objects->search($patron_categories_rs); return $c->render( -- 2.30.2