Bugzilla – Attachment 141099 Details for
Bug 10950
Add pronoun field to patron record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10950: API spec update
Bug-10950-API-spec-update.patch (text/plain), 2.13 KB, created by
Chris Cormack
on 2022-09-30 00:29:03 UTC
(
hide
)
Description:
Bug 10950: API spec update
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2022-09-30 00:29:03 UTC
Size:
2.13 KB
patch
obsolete
>From 91905afbef6489b6ab5402064973b7963ee57d1e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 10 Jun 2022 17:40:11 +0000 >Subject: [PATCH] Bug 10950: API spec update > >Test plan: >1. Apply patch, restart_all, and updatedatabase >2. In the staff client go to a patron record or create a new patron. >3. Notice the pronouns field, make sure you add a value to it. >4. Now notice that the value should display in parentheses in places where the patron name is displayed. >5. Go to the details page and you should see the value display in quotes. ( next to othernames ) > >6. Check to make sure you can hide the pronouns field via BorrowerUnwantedField. >7. Check to make sure you can make the field required with BorrowerMandatoryField > >8. Go to the OPAC to self register. The pronouns field should appear in the form. >9. Make sure you can make it required ( PatronSelfRegistrationBorrowerMandatoryField ) and that you can hide it ( PatronSelfRegistrationBorrowerUnwantedField ). >10. Once registered check 'your personal details'. Check that the field can be required (PatronSelfModificationMandatoryField) or hidden ( PatronSelfModificationBorrowerUnwantedField ). > >11. Try some notices like ISSUESLIP. You should be able to add either <<borrowers.pronouns>> or [% borrower.pronoun %] to the notice and have it display when you generate the notice. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > api/v1/swagger/definitions/patron.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/api/v1/swagger/definitions/patron.yaml b/api/v1/swagger/definitions/patron.yaml >index b0af742717..b5142dba06 100644 >--- a/api/v1/swagger/definitions/patron.yaml >+++ b/api/v1/swagger/definitions/patron.yaml >@@ -39,6 +39,11 @@ properties: > - string > - "null" > description: initials of the patron >+ pronouns: >+ type: >+ - string >+ - "null" >+ description: pronouns of the patron > street_number: > type: > - string >-- >2.20.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 10950
:
135883
|
135886
|
135887
|
135890
|
135908
|
135909
|
135957
|
136037
|
136058
|
136059
|
136060
|
136061
|
136062
|
136063
|
136064
|
139606
|
139607
|
139608
|
139609
|
139610
|
139611
|
139612
|
139615
|
139616
|
139617
|
139618
|
139619
|
139620
|
139621
|
139908
|
139968
|
139983
|
139984
|
139985
|
139986
|
139987
|
139988
|
139989
|
139990
|
139991
|
141094
|
141095
|
141096
|
141097
|
141098
| 141099 |
141100
|
141101
|
141102
|
141103