]> git.koha-community.org Git - koha.git/commit
Bug 11019 - Require some fields when adding authorized value category
authorOwen Leonard <oleonard@myacpl.org>
Thu, 18 Aug 2016 15:58:42 +0000 (11:58 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 19:48:34 +0000 (21:48 +0200)
commit5b1b87455760702428a1e53f832dd3b2f109707b
treea066b0e67db4b83bb3cd3b212f80fc9ec7db15ea
parentbb166e9b1af08e3834c4adb1f2e6175cf6003d5d
Bug 11019 - Require some fields when adding authorized value category

This patch modifies the form for adding an authorized value so that
the category is a required fields.
Previously a new authorized value category could be saved with no data.

To test, apply the patch and go to Administration -> Authorized values.

- Click the "New category" button.
- Click the save button without filling in the category.
  You should be prevented from submitting the form.
- Verify that filling in the required field allows the form to be
  submitted.
- Perform the same test when editing an existing authorized value.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Follow-up for QA: Allow a blank authorised value to be created.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Amended test plan.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a5b0aa20e553d7444778b2ca3d90c6e067d6fce1)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt