Bugzilla – Attachment 97998 Details for
Bug 24476
Allow patrons to opt-out of auto-renewal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24476: API Updates
Bug-24476-API-Updates.patch (text/plain), 2.13 KB, created by
ByWater Sandboxes
on 2020-01-27 20:27:43 UTC
(
hide
)
Description:
Bug 24476: API Updates
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-01-27 20:27:43 UTC
Size:
2.13 KB
patch
obsolete
>From 1bc6ad641dfa4cc2e0b27fc7b63ed1ed1b0abf49 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 23 Jan 2020 02:36:29 +0000 >Subject: [PATCH] Bug 24476: API Updates > >Signed-off-by: Andrew <andrew@bywatersolutions.com> >--- > Koha/Patron.pm | 1 + > api/v1/swagger/definitions/patron.json | 4 ++++ > api/v1/swagger/paths/patrons.json | 6 ++++++ > 3 files changed, 11 insertions(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index c0497174a8..59e1889c64 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1607,6 +1607,7 @@ sub to_api_mapping { > smsalertnumber => 'sms_number', > sort1 => 'statistics_1', > sort2 => 'statistics_2', >+ autorenewal => 'autorenewal', > streetnumber => 'street_number', > streettype => 'street_type', > zipcode => 'postal_code', >diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json >index 06ed23b9ac..cf5eedf52d 100644 >--- a/api/v1/swagger/definitions/patron.json >+++ b/api/v1/swagger/definitions/patron.json >@@ -191,6 +191,10 @@ > "type": ["string", "null"], > "description": "a field that can be used for any information unique to the library" > }, >+ "autorenewal": { >+ "type": "boolean", >+ "description": "indicate whether auto-renewal is allowed for patron" >+ }, > "altcontact_firstname": { > "type": ["string", "null"], > "description": "first name of alternate contact for the patron" >diff --git a/api/v1/swagger/paths/patrons.json b/api/v1/swagger/paths/patrons.json >index 27bd08f69f..bb4efd3caf 100644 >--- a/api/v1/swagger/paths/patrons.json >+++ b/api/v1/swagger/paths/patrons.json >@@ -296,6 +296,12 @@ > "required": false, > "type": "string" > }, { >+ "name": "autorenewal", >+ "in": "query", >+ "description": "Search on autorenewal", >+ "required": false, >+ "type": "boolean" >+ }, { > "name": "altcontact_firstname", > "in": "query", > "description": "Case insensitive search on altcontact_firstname", >-- >2.11.0
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 24476
:
97766
|
97767
|
97768
|
97769
|
97770
|
97831
|
97832
|
97833
|
97834
|
97835
|
97836
|
97923
|
97924
|
97925
|
97926
|
97927
|
97928
|
97997
|
97998
|
97999
|
98000
|
98001
|
98002
|
99793
|
99794
|
99795
|
99796
|
99797
|
99798
|
99799
|
99800
|
100022
|
100023
|
100024
|
100025
|
100026
|
100027
|
100028
|
100029
|
101385
|
101419
|
101420
|
101421
|
101422
|
101423
|
101424
|
101425
|
101426
|
101427
|
101511
|
101512
|
101513
|
101514
|
101515
|
101516
|
101517
|
101518
|
101519
|
101520
|
101521
|
101542