]> git.koha-community.org Git - koha.git/commit
Bug 18752 - Automatic item modifications by age should allow 'blank' values
authorOwen Leonard <oleonard@myacpl.org>
Thu, 8 Jun 2017 15:19:22 +0000 (15:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Jun 2017 12:22:34 +0000 (14:22 +0200)
commit8c782759ef2ff01a5e125c05f998a3a678346455
tree31b5ad6471107fc31c6796c9c0a71eb81b07bc43
parent28928c69376fd25edaee8a7843dc4fd4309f0615
Bug 18752 - Automatic item modifications by age should allow 'blank' values

This patch modifies the automatic item modification by age template to
correct errors in form validation:

- Age in days should not be required
- A value should not be required in substitutions.

To test, apply the patch and clear your browser cache if necessary.

- Go to Tools -> Automatic item modification by age.
- Confirm that when editing or creating a rule the only required field
  is the substitutions field name.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1bc45a470e55bcbb5e4031c001749a1ec9b35160)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt
koha-tmpl/intranet-tmpl/prog/js/automatic_item_modification_by_age.js