]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 15:32:39 +0000 (16:32 +0100)
commitb647aff01d504533a5a3720c66e6adcf0067792f
tree1858a8d1fe016d6b7e117751fe18931a5cd58bdb
parente3205b4c41497d83084a8a216eefa6dd377788b1
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>
installer/data/mysql/en/optional/sample_patrons.yml