[Koha] Age restriction no longer working?

Katrin Fischer katrin.fischer.83 at web.de
Tue Feb 9 10:15:15 NZDT 2021

Hi Sue,

I think it's just not listed because it's only used in Germany. So more
well known ones were used as examples. FSK is the Freiwillige
Selbstkontrolle der Filmwirtschaft
The preference works with any prefix you put there. It will look for it
in the MARC field and extract the numbers to compare the age to.

As I said, I'd check for any whitespace in configuration and your MARC
fields and that the values are saved correctly to the database column.


On 08.02.21 22:02, Sue McMillan wrote:
> Hmm, I've tried it again, and Koha will definitely stop issues if I use PG 13 in 521$a.  But it will not stop issues, as it used to do, when using FSK 13.
> I did find this information here https://koha-community.org/manual/18.05/en/html/systempreferences.html which does not have FSK listed any longer so maybe something has changed.
> AgeRestrictionMarker
> Asks: Restrict patrons with the following target audience values from checking out inappropriate materials: ___
> Description:
> •This preference defines certain keywords that will trigger Koha to restrict checkout based on age. These restrictions can be overridden by the AgeRestrictionOverride preference. Enter in this field a series of keywords separated by bar (|) with no spaces. For example PG|R|E|EC|Age| will look for PG followed by an age number, R folllowed by an age number, Age followed by an age number, and so on. These values can appear in any MARC field, but Library of Congress recommends the 521$a (Target Audience Note). Whatever field you decide to use you must map the word agerestriction in the biblioitems table to that field in the Koha to MARC Mapping. When cataloging you can enter values like PG 13 or E 10 in the 521$a and Koha will then notify circulation librarians that the material may not be recommended for the patron based on their age.
> Important
> You must map the word agerestriction in the biblioitems table to the MARC field where this information will appear via the Koha to MARC Mapping administration area.
> Ngā mihi
> Sue McMillan
> Kaiārahi Whakarārangi Pukapuka me ngā Whakahaere Pūnaha | Cataloguing and Systems Administrator
> Te Kaunihera ō Taranaki ki Te Tonga | South Taranaki District Council
> 46 High Street | Private Bag 902, Hāwera 4640, NZ
> Waea/Phone: +64 6 278 0555 | 0800 111 323 | www.southtaranaki.com
> This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorised and may be illegal. Please note that this communication does not designate an information system for the purposes of the Contract and Commercial Law Act 2017.

More information about the Koha mailing list