Bug 22147: Hidden 'Batch modify' button on report print layout
authorJasmine Amohia <jasmineamohia.student@wegc.school.nz>
Wed, 16 Jan 2019 21:26:10 +0000 (21:26 +0000)
committerroot <root@f1ebe1bec408>
Tue, 19 Feb 2019 13:52:14 +0000 (13:52 +0000)
Test plan:
1) Create or run a report that has an itemnumber column
2) Notice the Batch modify button under the itemnumber heading
3) Print the page
4) Notice the button no longer shows on the printed page

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/css/print.css
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index 38e6f24..be7cc9e 100644 (file)
@@ -295,6 +295,7 @@ td.debit {
 #changelanguage,
 #menu,
 #limitselect,
+#batchModify,
 .gradient,
 div.yui-b,
 .noprint,
index 5dfb4f4..5d3689f 100644 (file)
@@ -861,7 +861,7 @@ canned reports and writing custom SQL reports.</p>
                 [% FOREACH header_ro IN header_row %]
                     [% IF header_ro.cell == 'itemnumber' %]
                         <th>
-                            [% header_ro.cell | html %] <button type="submit" 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</button>
+                            [% header_ro.cell | html %] <button type="submit" data-toggle="tooltip" title="Send visible items to batch modification" id="batchModify" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</button>
                         </th>
                     [% ELSE %]
                         <th>[% header_ro.cell | html %]</th>