]> git.koha-community.org Git - koha.git/commit
Bug 17521: Added missing age limit check
authorradiuscz <radek.siman@centrum.cz>
Mon, 31 Oct 2016 22:24:42 +0000 (23:24 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 Nov 2016 16:42:07 +0000 (16:42 +0000)
commitd711d62a4801f77c553e51c31bcc1cea6e8d13fb
treefe9c84afec85aacb0cd68be135d855eaaa12d3c0
parent988e9430a402ca04ec7563f49d6cc43c2737c46a
Bug 17521: Added missing age limit check

Following patron modification partial editor had no age constraint
checking:
/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=3&step=3

Test plan:
1) Apply the patch
2) Open profile of a patron
3) Click Edit under "Library use": http://prntscr.com/d1ghim
4) Change category to an invalid one (eg. Adult instead of Kid)
5) Error saying "Patron's age is incorrect for their category." should
be displayed.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Lucio Moraes <lmoraes@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
members/memberentry.pl