From 24740fb2fafc20c27aafae760ad4eca1c14a85df Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 29 Dec 2015 19:13:51 +0000 Subject: [PATCH] Bug 14695 - Add new circulation rule Signed-off-by: Nick Clemens Signed-off-by: Jason M. Burds Signed-off-by: Benjamin Rokseth --- admin/smart-rules.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 9d2d0fdf10..fb2f26c33f 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -137,6 +137,7 @@ elsif ($op eq 'add') { $norenewalbefore = undef if $norenewalbefore =~ /^\s*$/; my $auto_renew = $input->param('auto_renew') eq 'yes' ? 1 : 0; my $reservesallowed = $input->param('reservesallowed'); + my $holds_per_record = $input->param('holds_per_record'); my $onshelfholds = $input->param('onshelfholds') || 0; $maxissueqty =~ s/\s//g; $maxissueqty = undef if $maxissueqty !~ /^\d+/; @@ -172,6 +173,7 @@ elsif ($op eq 'add') { norenewalbefore => $norenewalbefore, auto_renew => $auto_renew, reservesallowed => $reservesallowed, + holds_per_record => $holds_per_record, issuelength => $issuelength, lengthunit => $lengthunit, hardduedate => $hardduedate, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 8d197afb3b..3a9bddee57 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -177,6 +177,7 @@ for="tobranch">Clone these rules to: Clone these rules to: Clone these rules to: +