Bugzilla – Attachment 161450 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) Move to REST::V1::Patrons::Categories
Bug-26297-QA-follow-up-Move-to-RESTV1PatronsCatego.patch (text/plain), 1.54 KB, created by
Pedro Amorim
on 2024-01-25 17:00:20 UTC
(
hide
)
Description:
Bug 26297: (QA follow-up) Move to REST::V1::Patrons::Categories
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-25 17:00:20 UTC
Size:
1.54 KB
patch
obsolete
>From dba0b329792b5e81f3d796e1ba504ed091befb64 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 25 Jan 2024 16:51:44 +0000 >Subject: [PATCH] Bug 26297: (QA follow-up) Move to > REST::V1::Patrons::Categories > >--- > Koha/REST/V1/{PatronCategories.pm => Patrons/Categories.pm} | 4 ++-- > api/v1/swagger/paths/patron_categories.yaml | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > rename Koha/REST/V1/{PatronCategories.pm => Patrons/Categories.pm} (93%) > >diff --git a/Koha/REST/V1/PatronCategories.pm b/Koha/REST/V1/Patrons/Categories.pm >similarity index 93% >rename from Koha/REST/V1/PatronCategories.pm >rename to Koha/REST/V1/Patrons/Categories.pm >index 70294a091ad..b07edc4cc5e 100644 >--- a/Koha/REST/V1/PatronCategories.pm >+++ b/Koha/REST/V1/Patrons/Categories.pm >@@ -1,4 +1,4 @@ >-package Koha::REST::V1::PatronCategories; >+package Koha::REST::V1::Patrons::Categories; > > # This file is part of Koha. > # >@@ -23,7 +23,7 @@ use Try::Tiny qw( catch try ); > > =head1 NAME > >-Koha::REST::V1::PatronCategories >+Koha::REST::V1::Patrons::Categories; > > =head1 API > >diff --git a/api/v1/swagger/paths/patron_categories.yaml b/api/v1/swagger/paths/patron_categories.yaml >index 790f3d71bfb..b07fbcce818 100644 >--- a/api/v1/swagger/paths/patron_categories.yaml >+++ b/api/v1/swagger/paths/patron_categories.yaml >@@ -1,7 +1,7 @@ > --- > /patron_categories: > get: >- x-mojo-to: PatronCategories#list >+ x-mojo-to: Patrons::Categories#list > operationId: listPatronCategories > tags: > - patron_categories >-- >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