Skip to content

Commit

Permalink
[IM] Ensure deterministic ordering for same ASNs
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Dec 15, 2014
1 parent ff066fc commit 1183685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/Repositories/VlanInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getForProto( $vlan, $proto, $useResultCache = true, $pistatus =
AND " . Customer::DQL_CUST_TRAFFICING . "
AND pi.status = :pistatus";

$qstr .= " ORDER BY c.autsys ASC, c.id ASC";
$qstr .= " ORDER BY c.autsys ASC, vli.id ASC";

$q = $this->getEntityManager()->createQuery( $qstr );
$q->setParameter( 'vlan', $vlan );
Expand Down

0 comments on commit 1183685

Please sign in to comment.