]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 Feb 2021 15:39:15 +0000 (16:39 +0100)
commit23dd20a9ced86e29ec37d01ade23eda92bb161b0
tree84942fc1b8564c38d5fe478558bd8610ac4f5a68
parentc2f9610e3fddb93e247700b6030c8f4c54c8c872
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>
installer/data/mysql/en/optional/sample_patrons.yml