Bug 7628 - Required format is not enforced for Patron Categories
authorMarc Veron <veron@veron.ch>
Wed, 18 Jul 2012 05:57:36 +0000 (07:57 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 3 Aug 2012 13:01:01 +0000 (15:01 +0200)
commite3e5b1892ff56893dca73330e38c58a7dda83647
tree8b47386c739ca1ce060b0460a2c135a566caf40b
parent7199d94a960d8b86587b450da3f8157b6a7a42ec
Bug 7628 - Required format is not enforced for Patron Categories

Enforces category code with allowed characters only.

Test plan:

- Before applying patch, create a category code like Test+

- Try to delete category with this code -> does not work

- Apply patch

- Try to create category with code containg other characters than letters, numbers, - and _

- Result: You are not allowed to do so, appropriate message pops up

Signed-off-by: David Cook <dcook@prosentient.com.au>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt