Bug 18752 - Automatic item modifications by age should allow 'blank' values
commit1bc45a470e55bcbb5e4031c001749a1ec9b35160
authorOwen Leonard <oleonard@myacpl.org>
Thu, 8 Jun 2017 15:19:22 +0000 (8 15:19 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Jun 2017 19:21:37 +0000 (13 16:21 -0300)
tree6700c8a3431cfa1968ebb3a175a40c28d95fcfd6
parente0444e8600efbe06016ff857f23ea85893a93041
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>
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