@@ -, +, @@ to batch modification --- .../en/modules/reports/guided_reports_start.tt | 28 ++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -705,14 +705,29 @@ canned reports and writing custom SQL reports.

[% pagination_bar %]
[% UNLESS ( errors ) %] +
+ -[% FOREACH header_ro IN header_row %][% END %] +[% FOREACH header_ro IN header_row %] + [% IF header_ro.cell == 'itemnumber' %] + + [% ELSE %] + + [% END %] + [% END %] [% FOREACH result IN results %] - [% FOREACH cell IN result.cells %][% END %] + [% FOREACH cells IN result.cells %] + [% place = loop.index %] + [% IF header_row.$place.cell == 'itemnumber' %] + + [% END %] + + [% END %] [% END %]
[% header_ro.cell %]
[% header_ro.cell %] ^[% header_ro.cell %]
[% cell.cell %][% cells.cell %]
+
[% END %] [% END %] @@ -959,6 +974,9 @@ Sub report: 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') %], --