]> git.koha-community.org Git - koha.git/commit
Bug 27717: Display date of birth even if the patron is under 1
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Feb 2021 12:25:34 +0000 (12:25 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 8 Mar 2021 15:49:53 +0000 (16:49 +0100)
commitd386453a8968ab6f589b1efee620a6904f694b0d
treee6ee2bf41a525bd39c7770ddd35644f6cee078af
parente69545a22b6e229d402111a2b6ebfcfb0d42fdef
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>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 35b5e29988f9781516b7e09327741455bfa202a5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc