]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 4 Aug 2012 10:28:46 +0000 (22:28 +1200)
commit601228f6585b6b942a31a8cfa642216925b09148
tree5682b404f54392c7b320912d0e1d6a31c7e92e05
parent9d333c753aa9b1d59d8394f0b9fbc9011e92ff03
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt