Bug 29679: Remove redundant divider element from reports menu
The SQL report batch operations dropdown menu has divider list items which add a border between sections (Bibliographic records, item records, etc.). This element is redundant because the sections have "headers" which also add a border. This patch removes them. To test, apply the patch and run an SQL report which will return results that trigger the batch modification menu: SELECT biblio.biblionumber , biblio.title, items.itemnumber, items.itemcallnumber, items.barcode, borrowers.firstname, borrowers.surname, borrowers.borrowernumber, borrowers.cardnumber FROM issues LEFT JOIN borrowers ON borrowers.borrowernumber=issues.borrowernumber LEFT JOIN items ON issues.itemnumber=items.itemnumber LEFT JOIN biblio ON items.biblionumber=biblio.biblionumber ORDER BY RAND() There should be no double border in the menu. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
7e72a7dde5
commit
ebe5f51277
|
|
@ -1038,9 +1038,6 @@
|
|||
</li>
|
||||
[% END %]
|
||||
[% IF header_ro.has_itemnumbers && ( header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' ) %]
|
||||
[% IF ( batch_biblionumbers ) %]
|
||||
<li role="separator" class="divider"></li>
|
||||
[% END %]
|
||||
<li class="dropdown-header">Item records</li>
|
||||
<li>
|
||||
<a href="#" data-submit="batch_item_modification" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item modification" class="batch_op send_to_item_mod">Batch item modification</a>
|
||||
|
|
@ -1050,9 +1047,6 @@
|
|||
</li>
|
||||
[% END %]
|
||||
[% IF header_ro.cell == 'cardnumber' || header_types.item( header_ro.cell ) == 'cardnumber' %]
|
||||
[% IF ( batch_biblionumbers || batch_itemnumbers ) %]
|
||||
<li role="separator" class="divider"></li>
|
||||
[% END %]
|
||||
<li class="dropdown-header">Patron records</li>
|
||||
<li>
|
||||
<a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue