Bugzilla – Attachment 59388 Details for
Bug 17927
REST API: /holds and /patrons attributes have wrong types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17927: (QA followup) Fix boolean types
Bug-17927-QA-followup-Fix-boolean-types.patch (text/plain), 1.63 KB, created by
Tomás Cohen Arazi
on 2017-01-20 18:52:35 UTC
(
hide
)
Description:
Bug 17927: (QA followup) Fix boolean types
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2017-01-20 18:52:35 UTC
Size:
1.63 KB
patch
obsolete
>From dbd1b8498a19ab52fe9d387bb3f8615d6cdc1bb8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 17 Jan 2017 15:19:06 -0300 >Subject: [PATCH] Bug 17927: (QA followup) Fix boolean types > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/definitions/hold.json | 4 ++-- > api/v1/swagger/definitions/patron.json | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/api/v1/swagger/definitions/hold.json b/api/v1/swagger/definitions/hold.json >index a1d82fabb1..f1110f21c3 100644 >--- a/api/v1/swagger/definitions/hold.json >+++ b/api/v1/swagger/definitions/hold.json >@@ -58,11 +58,11 @@ > "description": "the date the hold expires" > }, > "lowestPriority": { >- "type": "integer", >+ "type": "boolean", > "description": "" > }, > "suspend": { >- "type": "integer", >+ "type": "boolean", > "description": "" > }, > "suspend_until": { >diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json >index 6becabcef2..d14666e667 100644 >--- a/api/v1/swagger/definitions/patron.json >+++ b/api/v1/swagger/definitions/patron.json >@@ -140,11 +140,11 @@ > "description": "date the patron's card is set to expire" > }, > "gonenoaddress": { >- "type": ["integer", "null"], >+ "type": ["boolean", "null"], > "description": "set to 1 if library marked this patron as having an unconfirmed address" > }, > "lost": { >- "type": ["integer", "null"], >+ "type": ["boolean", "null"], > "description": "set to 1 if library marked this patron as having lost his card" > }, > "debarred": { >-- >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 17927
:
59386
|
59387
| 59388 |
59899