Bug 30090: Don't export some columns in patron search results
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 14 Feb 2022 21:04:25 +0000 (11:04 -1000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Feb 2022 07:52:51 +0000 (21:52 -1000)
The checkout and Edit buttons should not export (Exel, Print) on the patron search result list.
Same for fist column with checkboxes.

Test plan :
1) Go to patrons module /cgi-bin/koha/members/members-home.pl
2) Perform a search with results
3) Click on 'Export' then 'Print'
=> Check you dont see column with checkboxes (text 'Select patron') and colum with actions

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt

index 82d3a5b..b7ef036 100644 (file)
               <thead>
                 <tr>
                 [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %]
-                  <th>&nbsp;</th>
+                  <th class="noExport">&nbsp;</th>
                 [% END %]
                   <th>Card</th>
                   <th>Name</th>
                   <th>OD/Checkouts</th>
                   <th>Fines</th>
                   <th>Circ note</th>
-                  <th>&nbsp;</th>
+                  <th class="noExport">&nbsp;</th>
                 </tr>
               </thead>
               <tbody></tbody>