Bugzilla – Attachment 51008 Details for
Bug 14695
Add ability to place multiple item holds on a given record per patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14695 - Add new circulation rule
Bug-14695---Add-new-circulation-rule.patch (text/plain), 3.67 KB, created by
Kyle M Hall (khall)
on 2016-04-29 15:03:39 UTC
(
hide
)
Description:
Bug 14695 - Add new circulation rule
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-04-29 15:03:39 UTC
Size:
3.67 KB
patch
obsolete
>From 2372176458f46137c24d9eb7e9c1e6c277f2200b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 29 Dec 2015 19:13:51 +0000 >Subject: [PATCH] Bug 14695 - Add new circulation rule > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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 11a5637..c309b7c 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -134,6 +134,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+/; >@@ -169,6 +170,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 fea01f3..a338428 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 >@@ -176,6 +176,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <th>No renewal before</th> > <th>Automatic renewal</th> > <th>Holds allowed (count)</th> >+ <th>Holds per record (count)</th> > <th>On shelf holds allowed</th> > <th>Item level holds</th> > <th>Rental discount (%)</th> >@@ -254,6 +255,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > [% END %] > </td> > <td>[% rule.reservesallowed %]</td> >+ <td>[% rule.holds_per_record %]</td> > <td> > [% IF rule.onshelfholds == 1 %] > Yes >@@ -328,6 +330,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > </select> > </td> > <td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> >+ <td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> > <td> > <select name="onshelfholds" id="onshelfholds"> > <option value="1">Yes</option> >@@ -371,6 +374,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <th>No renewal before</th> > <th>Automatic renewal</th> > <th>Holds allowed (count)</th> >+ <th>Holds per record (count)</th> > <th>On shelf holds allowed</th> > <th>Item level holds</th> > <th>Rental discount (%)</th> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14695
:
44143
|
44144
|
44145
|
45058
|
45059
|
45060
|
45061
|
45063
|
45064
|
46548
|
46549
|
46550
|
46551
|
46552
|
46553
|
46554
|
46555
|
46556
|
46557
|
46914
|
46915
|
46916
|
46917
|
46918
|
46919
|
46920
|
47183
|
47184
|
47185
|
47186
|
47187
|
47188
|
47189
|
47190
|
47191
|
47196
|
47227
|
47228
|
47229
|
47230
|
47231
|
47232
|
47233
|
47234
|
47355
|
47372
|
47606
|
47607
|
47608
|
47609
|
47610
|
47611
|
47612
|
47613
|
47614
|
47615
|
48792
|
48795
|
48796
|
48797
|
48798
|
48799
|
48800
|
48801
|
48802
|
48803
|
50056
|
50057
|
50058
|
50059
|
50060
|
50061
|
50062
|
50063
|
50064
|
50065
|
50327
|
50391
|
51006
|
51007
|
51008
|
51009
|
51010
|
51011
|
51012
|
51013
|
51014
|
51015
|
51016
|
51017
|
51027
|
51030
|
51031
|
51032
|
51033
|
51034
|
51035
|
51036
|
51037
|
51038
|
51039
|
51040
|
51041
|
51042
|
51277
|
51278
|
51279
|
51280
|
51281
|
51282
|
51283
|
51284
|
51285
|
51286
|
51287
|
51288
|
51289
|
52457
|
54546
|
54547
|
54548
|
54549
|
54550
|
54551
|
54552
|
54553
|
54554
|
54555
|
54556
|
54557
|
54558
|
54559
|
55114
|
55115
|
55116
|
55117
|
55118
|
55119
|
55120
|
55121
|
55122
|
55123
|
55124
|
55125
|
55126
|
55127
|
55128
|
55148
|
55149
|
55150
|
55151
|
55152
|
55153
|
55154
|
55155
|
55156
|
55157
|
55158
|
55159
|
55160
|
55161
|
55162
|
55163
|
55299
|
55332
|
55730
|
55731