[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
Mon Apr 16 22:36:55 CEST 2012


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

--- Comment #10 from Marc Véron <veron at veron.ch> ---
Created attachment 9219
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9219&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)

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


More information about the Koha-bugs mailing list