When doing default sorting, push alerted indices/nodes to the top

This commit is contained in:
Boaz Leskes 2014-01-26 22:00:11 +01:00
parent 442dd9faa2
commit 6a4e0db5b2

View file

@ -616,7 +616,7 @@ define([
newRowsIds = newRowsIds.slice(0, $scope.rowLimit);
// sort again for visual effect
// sort again for visual placement
newRowsIds.sort(compareIdByName);
newRowsIds.sort(concatSorting(compareIdByAlert, compareIdByName));
}