mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#12706 fixed events groups by agent
This commit is contained in:
parent
adffdc3cd0
commit
bb92202ba2
@ -3080,7 +3080,10 @@ function process_datatables_callback(table, settings) {
|
||||
.data()
|
||||
.each( function ( group, i ) {
|
||||
$(rows).eq( i ).show();
|
||||
if ( last !== group ) {
|
||||
// Compare only "a" tag because in metaconsole the node has "form".
|
||||
let last_to_compare = $(last).filter('a').html();
|
||||
let group_to_compare = $(group).filter('a').html();
|
||||
if ( last_to_compare !== group_to_compare ) {
|
||||
$(rows).eq( i ).before(
|
||||
'<tr class="group"><td colspan="100%">'
|
||||
+'<?php echo __('Agent').' '; ?>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user