Bugzilla – Attachment 68883 Details for
Bug 19539
Editing rules that contain 'Unlimited' values produces invalid data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19539: (follow-up) Fix column index shift in cirulation rules
Bug-19539-follow-up-Fix-column-index-shift-in-ciru.patch (text/plain), 1.90 KB, created by
Jonathan Druart
on 2017-11-01 16:11:16 UTC
(
hide
)
Description:
Bug 19539: (follow-up) Fix column index shift in cirulation rules
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-11-01 16:11:16 UTC
Size:
1.90 KB
patch
obsolete
>From 46082fda6bdc8fa5322ab214459973ad98b034d9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 30 Oct 2017 11:14:53 -0300 >Subject: [PATCH] Bug 19539: (follow-up) Fix column index shift in cirulation > rules > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 c1d5931f44..99c03d3443 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 >@@ -67,7 +67,7 @@ $(document).ready(function() { > itm = $(this).text(); > itm = itm.replace(/^\s*|\s*$/g,''); > var current_column = $("#edit_row td:eq("+i+")"); >- if ( i == 6 ) { >+ if ( i == 7 ) { > // specific processing for the Hard due date column > var select_value = $(this).find("input[type='hidden'][name='hardduedatecomparebackup']").val(); > var input_value = ''; >@@ -78,7 +78,7 @@ $(document).ready(function() { > } > $(current_column).find("input[type='text']").val(input_value); > $(current_column).find("select").val(select_value); >- } else if ( i == 12 ) { >+ } else if ( i == 13 ) { > // specific processing for cap_fine_to_replacement_price > var cap_fine_to_replacement_price = $(this).find("input[type='checkbox']"); > $('#cap_fine_to_replacement_price').prop('checked', cap_fine_to_replacement_price.is(':checked') ); >-- >2.11.0
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 19539
:
68719
|
68789
|
68846
|
68847
|
68879
|
68880
| 68883