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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 6 Mar 2019 05:52:14 +0000 (05: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>
(cherry picked from commit 5ea9fb91632d712a6f70f4a3382ba96b4db74f69)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5054f1a1a30e4921d47941220786118c3a8575ee)

Signed-off-by: Lucas Gass <lucas@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 e0e0715..13165f1 100644 (file)
@@ -734,7 +734,7 @@ canned reports and writing custom SQL reports.</p>
                 [% FOREACH header_ro IN header_row %]
                     [% IF header_ro.cell == 'itemnumber' %]
                         <th>
-                            [% header_ro.cell %] <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 %]</th>