[Koha-bugs] [Bug 7621] Circulation: Match age restriction of title with borrower's age without using categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 10 17:56:36 CEST 2012


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10072|0                           |1
        is obsolete|                            |

--- Comment #17 from Marc Véron <veron at veron.ch> ---
Created attachment 10136
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10136&action=edit
BUG 7621 [ENH] Circulation: Match age restriction of title with borrower's age
without using categories

Test scenario:

1)
Make sure that you have a column 'agerestriction' in table biblioitems.
This will be handled by updatedatabase.pl. If you want to insert the column
using mysql, you can do:
ALTER TABLE biblioitems ADD COLUMN 'agerestriction' VARCHAR(255) DEFAULT NULL
AFTER 'cn_sort'

2)
In the staff client, go to Home . Administration . Koha to MARC mapping and
choose biblioitems + OK.
In the field list, the field 'agerestriction' should show up. Edit it and map
the field e.g. to 521a

3)
Go to Home . Administration . System preferences and edit Circulation:
AgeRestrictionMarker (add eg.: FSK|PEGI|Age) and AgeRestrictionOverride
(Prevent or Don't prevent)

4)
Create a young patron account e.g. with age < 16

5)
Create or edit a biblio with e.g. the value FSK 16 in the field 521a (same
field as mapped above)

6)
Try to check out to young patron

7)
Chckout should be blocked or issue a warning with override (depending on
AgeRestrictionOverride)

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

New version implementing Paul's advice. Wiki page prepared
(http://wiki.koha-community.org/wiki/Age_restriction)

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


More information about the Koha-bugs mailing list