]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 13 Oct 2012 01:18:13 +0000 (21:18 -0400)
commitdd6d4f777227bdd7ed24442ad70fda44ba13ea26
treee27c52d7ec802c2f63392a67f1b44078f439758e
parenta2510b9e594e8fc752d7717c2b6e532e7246efbd
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>
(cherry picked from commit 601228f6585b6b942a31a8cfa642216925b09148)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt