From d8f13c15c5b0162ad538cf8fe8e645f02aec627a 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 --- 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 9c903da..3576592 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -131,6 +131,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+/; @@ -165,6 +166,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 e7cc158..b3f4791 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 @@ -170,6 +170,7 @@ for="tobranch">Clone these rules to: Clone these rules to: Clone these rules to: +