]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Jul 2017 13:02:04 +0000 (01:02 +1200)
commit21f0fae7a48d47a12affe8d7dd12585300c6e417
tree48ec6224ef5b83be2bc27477ceb4fa832708d21c
parent9c132dc2553f77387c95b16697ed0a1b805cdd06
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>
(cherry picked from commit 8c782759ef2ff01a5e125c05f998a3a678346455)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
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