Skip to content

Commit

Permalink
[BF] - RS Looking Glass sort order - fixes #544
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrobin committed Jul 25, 2019
1 parent 8e54403 commit 90630bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions resources/views/services/lg/bgp-summary.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class="badge badge-warning"
</span>
<?php endif; ?>
</td>
<td class="text-right pr-4">
<td class="text-right pr-4" data-order="<?= $p->state != 'up' ? "-1" : $p->routes->imported ?>">
<?php if( $p->state != 'up' ): ?>
<span class="badge badge-warning"><?= $p->bgp_state ?></span>
<?php else: ?>
Expand Down Expand Up @@ -183,12 +183,12 @@ function spacifyNumber( n, s ) {
order: [[ 2, "asc" ]],
columnDefs: [
{ type: 'ip-address', targets: 0 },
{ type: 'string', targets: 0 },
{ type: 'int', targets: 0 },
{ type: 'string', targets: 0 },
{ type: 'string', targets: 0 },
{ type: 'int', targets: 0 },
{ type: 'int', targets: 0 }
{ type: 'string', targets: 1 },
{ type: 'int', targets: 2 },
{ type: 'string', targets: 3 },
{ type: 'string', targets: 4 },
{ type: 'num', targets: 5 },
{ type: 'num', targets: 6 }
]
});
});
Expand Down

0 comments on commit 90630bd

Please sign in to comment.