Bugzilla – Attachment 183741 Details for
Bug 40179
Add maxLength to the patron's category definition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40179: Add maxLength to patron_category spec file
Bug-40179-Add-maxLength-to-patroncategory-spec-fil.patch (text/plain), 1.81 KB, created by
Matt Blenkinsop
on 2025-07-03 10:11:51 UTC
(
hide
)
Description:
Bug 40179: Add maxLength to patron_category spec file
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-07-03 10:11:51 UTC
Size:
1.81 KB
patch
obsolete
>From 34c053fdbadb11e5b1c2edea5c6c728ae992e80a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 19 Jun 2025 11:11:18 +0200 >Subject: [PATCH] Bug 40179: Add maxLength to patron_category spec file > >Test plan: >Apply the "tests" patch first > prove xt/api.t >=> fail >Apply this patch >=> pass > >Signed-off-by: David Nind <david@davidnind.com> >--- > api/v1/swagger/definitions/patron_category.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/api/v1/swagger/definitions/patron_category.yaml b/api/v1/swagger/definitions/patron_category.yaml >index 7f2d4a3288c..da548a6980d 100644 >--- a/api/v1/swagger/definitions/patron_category.yaml >+++ b/api/v1/swagger/definitions/patron_category.yaml >@@ -4,6 +4,7 @@ properties: > patron_category_id: > type: string > description: Internal patron category identifier >+ maxLength: 10 > name: > type: > - string >@@ -56,9 +57,11 @@ properties: > category_type: > type: string > description: Type of Koha patron (Adult, Child, Professional, Organizational, Statistical, Staff) >+ maxLength: 1 > block_expired_patron_opac_actions: > type: string > description: Specific actions expired patrons of this category are blocked from performing. OPAC actions blocked based on the patron category take priority over this preference >+ maxLength: 128 > default_privacy: > type: string > enum: >@@ -68,6 +71,10 @@ properties: > description: Default privacy setting for this patron category > check_prev_checkout: > type: string >+ enum: >+ - yes >+ - no >+ - inherit > description: Produce a warning for this patron category if this item has previously been checked out to this patron if ''yes'', not if ''no'', defer to syspref setting if ''inherit''.' > can_place_ill_in_opac: > type: boolean >-- >2.48.1
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 40179
:
183370
|
183371
|
183728
|
183729
|
183740
| 183741