]> git.koha-community.org Git - koha.git/commit
Bug 27530: Set correct dateofbirth for 'C'
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Jan 2021 09:22:27 +0000 (10:22 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 9 Feb 2021 12:34:49 +0000 (12:34 +0000)
commit2afab02fde8c9c7a2f26c626c7684508287c976e
tree081822a4593c062a71673abe60cd763d819741c7
parentd41016efe804a2a20da0629a43b78bd0de4a6a3c
Bug 27530: Set correct dateofbirth for 'C'

Categories B, J, K and YA have a upper age limit of 17 years.
We are setting the dateofbirth to today - 15 years to prevent juvenils
to be 70!

Note that DATE_SUB is a MySQLism, but there is no way to be portable
here.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
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 b647aff01d504533a5a3720c66e6adcf0067792f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 23dd20a9ced86e29ec37d01ade23eda92bb161b0)
installer/data/mysql/en/optional/sample_patrons.yml