DataTables for ports with multiple nodes attached report
This commit is contained in:
@@ -36,7 +36,8 @@ get '/ajax/content/report/portmultinodes' => require_login sub {
|
||||
return unless scalar @results;
|
||||
|
||||
if ( request->is_ajax ) {
|
||||
template 'ajax/report/portmultinodes.tt', { results => \@results, },
|
||||
my $results = to_json (\@results);
|
||||
template 'ajax/report/portmultinodes.tt', { results => $results, },
|
||||
{ layout => undef };
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user