Bugzilla – Attachment 73345 Details for
Bug 19233
Add ability to send itemnumbers in report results to batch modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19233: (follow-up) Use a button to submit form
Bug-19233-follow-up-Use-a-button-to-submit-form.patch (text/plain), 2.89 KB, created by
Nick Clemens (kidclamp)
on 2018-03-27 17:48:46 UTC
(
hide
)
Description:
Bug 19233: (follow-up) Use a button to submit form
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-03-27 17:48:46 UTC
Size:
2.89 KB
patch
obsolete
>From 86136faea4005dc9044043c3622d561079f39788 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 27 Mar 2018 17:30:42 +0000 >Subject: [PATCH] Bug 19233: (follow-up) Use a button to submit form > >--- > .../prog/en/modules/reports/guided_reports_start.tt | 20 ++------------------ > 1 file changed, 2 insertions(+), 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index b6fdb0f..1c5e5ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -37,16 +37,6 @@ > #col1, #col2 { width:45%; float:left; } > #col1 ins, #col2 del { display: none; } > .show_sql { font-family: monospace; } >- .send_to_item_mod { >- background-color: #EBF3FF; >- border: 1px solid #88b0e8; >- border-radius: 5px; >- display: inline-block; >- font-size: 75%; >- margin: 3px 5px; >- padding: 3px 5px; >- white-space: nowrap; >- } > </style> > [% IF ( saved1 ) %] > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" /> >@@ -715,14 +705,14 @@ canned reports and writing custom SQL reports.</p> > > <div class="pages">[% pagination_bar %]</div> > [% UNLESS ( errors ) %] >- <form method="POST" id="report_results"> >+ <form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="report_results"> > <input type="hidden" name="op" value="show" /> > <table> > <tr> > [% FOREACH header_ro IN header_row %] > [% IF header_ro.cell == 'itemnumber' %] > <th> >- [% header_ro.cell %] <a href="#" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</a> >+ [% header_ro.cell %] <button type="submit" value="Batch modify" data-toggle="tooltip" title="Send visible items to batch modification" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</input> > </th> > [% ELSE %] > <th>[% header_ro.cell %]</th> >@@ -1008,12 +998,6 @@ Sub report:<select name="subreport"> > delColumn(); > }); > >- $(".send_to_item_mod").click(function(e){ >- e.preventDefault(); >- $("#report_results").attr("action","/cgi-bin/koha/tools/batchMod.pl"); >- $("#report_results").submit(); >- }); >- > [% IF (saved1) %] > var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { > 'iDisplayLength': [% Koha.Preference('NumSavedReports') %], >-- >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 19233
:
66680
|
67087
|
67186
|
67805
|
67806
|
69920
|
69921
|
72566
|
72567
|
73344
|
73345
|
73346
|
73347
|
73356