[Koha-bugs] [Bug 11630] AgeRestrictionMarker doesn't handle marker immediately followed by age

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 16 12:56:51 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11630

--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 27163
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27163&action=edit
Improve AgeRestrictionMarker to consider the case where the marker is
immediately followed by the age, eg. "K16" in Finland.

How I tested:
Configure Age Restricition (see Syspref AgeRestrictionMarker) and have a biblio
record with e.g. PEGI 99 in age restriction field
Try to check out to a patron with age < 99
Check out should be blocked
Change entry in age restriction field to PEGI99
Checkout should be possible
Apply patch
Checkout schould now be blocked

Patch behaves as expected

http://bugs.koha-community.org/show_bug.cgi?id=11630
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list