Skip to content

Commit

Permalink
Revert "[BF] - RS Looking Glass sort order - fixes #544"
Browse files Browse the repository at this point in the history
This reverts commit 3adfd03.
  • Loading branch information
barryo committed Jul 26, 2019
1 parent 3adfd03 commit 49b241c
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" data-order="<?= $p->state != 'up' ? "-1" : $p->routes->imported ?>">
<td class="text-right pr-4">
<?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: 1 },
{ type: 'int', targets: 2 },
{ type: 'string', targets: 3 },
{ type: 'string', targets: 4 },
{ type: 'num', targets: 5 },
{ type: 'num', targets: 6 }
{ type: 'string', targets: 0 },
{ type: 'int', targets: 0 },
{ type: 'string', targets: 0 },
{ type: 'string', targets: 0 },
{ type: 'int', targets: 0 },
{ type: 'int', targets: 0 }
]
});
});
Expand Down

0 comments on commit 49b241c

Please sign in to comment.