]> 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>
Fri, 14 Sep 2012 00:13:39 +0000 (20:13 -0400)
commit01d5e7092633a6f602c96562c943fe75d4826d79
tree36a1ce2d04daf94bd667d4987dc8cd86c72b44ce
parent6cb8841a8568c60d2249362186a012bbf776a047
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