]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 14:19:46 +0000 (14:19 +0000)
commita5b0aa20e553d7444778b2ca3d90c6e067d6fce1
tree3271e472e856fdd6b3871a63b435fa8f33694979
parent8850540deafc471b9b356e35ae67780a51829271
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt