]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 06:48:25 +0000 (08:48 +0200)
commit01e6632c0ea415f41880d7b6d33e27f824419230
tree29fb75f8ecbe4f748849eb29ab66786ac4045eb4
parentb277edf1a920d79b25495421d55c0f6e847fdaa5
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>
(cherry picked from commit 5b1b87455760702428a1e53f832dd3b2f109707b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt