Bugzilla – Attachment 161451 Details for
Bug 26297
Add a route to list patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26297: (QA follow-up) Use search_with_library_limits
Bug-26297-QA-follow-up-Use-searchwithlibrarylimits.patch (text/plain), 915 bytes, created by
Pedro Amorim
on 2024-01-25 17:00:22 UTC
(
hide
)
Description:
Bug 26297: (QA follow-up) Use search_with_library_limits
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-25 17:00:22 UTC
Size:
915 bytes
patch
obsolete
>From 83aa63b31119568b5fbc112e7b021257e2c55b9e Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26297
:
159714
|
159715
|
159716
|
159717
|
159722
|
159921
|
159922
|
159923
|
159924
|
159955
|
160412
|
161450
|
161451
|
161484
|
161485
|
161486
|
161487
|
161488
|
161496
|
165390
|
165391
|
165392
|
165393
|
165453
|
165655
|
165827