Summary: | Date of birth fails to display for babies under 1 year | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize <martin.renvoize> |
Component: | Patrons | Assignee: | Martin Renvoize <martin.renvoize> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrewfh, barbara.johnson, fiona.borthwick, fridolin.somers, gmcharlt, jonathan.druart, kyle.m.hall |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.04
|
|
Bug Depends on: | 15400 | ||
Bug Blocks: | |||
Attachments: |
Bug 27717: Display date of birth even if the patron is under 1
Bug 27717: Display date of birth even if the patron is under 1 Bug 27717: Display date of birth even if the patron is under 1 Bug 27717: Display date of birth even if the patron is under 1 |
Description
Martin Renvoize
2021-02-17 12:23:49 UTC
Created attachment 116936 [details] [review] Bug 27717: Display date of birth even if the patron is under 1 This patch moves the 'age' condition to below the date of birth display, allowing the date to display for babies. Test plan 1/ Add a user with a date of birth within the last year 2/ Check that the date of birth appears on the patron details page (under contact details) with the patch applied. This breaks patron search in the patrons module--the JSON is broken. Created attachment 116999 [details] [review] Bug 27717: Display date of birth even if the patron is under 1 This patch moves the 'age' condition to below the date of birth display, allowing the date to display for babies. Test plan 1/ Add a user with a date of birth within the last year 2/ Check that the date of birth appears on the patron details page (under contact details) with the patch applied. OK, That was rather unexpected!.. Thanks for testing Owen, new patch attached. Created attachment 117094 [details] [review] Bug 27717: Display date of birth even if the patron is under 1 This patch moves the 'age' condition to below the date of birth display, allowing the date to display for babies. Test plan 1/ Add a user with a date of birth within the last year 2/ Check that the date of birth appears on the patron details page (under contact details) with the patch applied. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> The birthdate and age calculation appeared correctly. I was also able to search for patrons. Everything looked good to me. Created attachment 117756 [details] [review] Bug 27717: Display date of birth even if the patron is under 1 This patch moves the 'age' condition to below the date of birth display, allowing the date to display for babies. Test plan 1/ Add a user with a date of birth within the last year 2/ Check that the date of birth appears on the patron details page (under contact details) with the patch applied. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.04 Missing dependency, not backported to 20.05 |