As the title says
Created attachment 127260 [details] [review] Bug 29405: Fix spec This patch just adds the 'date' format string to ensure we are validating the input/output of the date_renewed field correctly.
Created attachment 127417 [details] [review] Bug 29405: Fix spec This patch just adds the 'date' format string to ensure we are validating the input/output of the date_renewed field correctly. Signed-off-by: David Nind <david@davidnind.com>
This is how I tested using koha-testing-docker - hope this is sufficient! Test plan: 1. Search http://127.0.0.1:8080/api/v1/.html for date_renewed 2. You should find seven occurrences displayed like this (note that other date fields have a line with "format": "date", as part of their definition): "date_renewed": { "description": "date the patron's card was last renewed", "type": [ "string", "null" ] }, 3. Apply the patch. 4. Reload the page in step 1 and search again for date_rendered. The seven occurrences should now include "format": "date", : "date_renewed": { "description": "date the patron's card was last renewed", "format": "date", "type": [ "string", "null" ] }, 5. Sign off!
Created attachment 127445 [details] [review] Bug 29405: Fix date_renewed attribute format in patron spec This patch just adds the 'date' format string to ensure we are validating the input/output of the date_renewed field correctly. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Pushed to master for 21.11, thanks to everybody involved!
Pushed to 21.05.x for 21.05.05
Pushed to 20.11.x for 20.11.12
Not backported to oldoldstable (20.05.x). Feel free to ask if it's needed.