Skip to content

Commit

Permalink
Merge "Closes-Bug: #1597347 Fixed the issue in sorting overlapped nod…
Browse files Browse the repository at this point in the history
…es in scatter chart with color priroirty (red->orange->green->blue)" into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 6, 2016
2 parents ebeba4d + 6aca1fb commit d5e7c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define(
}
cfDataSource.addCallBack('updateCFListModel',function(data) {
//Update listUIModel with crossfilter data
vRouterUIListModel.setData(cfDataSource.getFilteredData());
vRouterUIListModel.setData(cfDataSource.getFilteredData().sort(dashboardUtils.sortNodesByColor));
});
this.renderView4Config(self.$el,
vRouterUIListModel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ define(
if(data['cfg']['source'] != 'grid') {
//Need to get the data after filtering from dimensions other than gridFilter
var currGridFilter = cfDataSource.removeFilter('gridFilter');
vRouterUIListModel.setData(cfDataSource.getDimension('gridFilter').top(Infinity));
vRouterUIListModel.setData(cfDataSource.getDimension('gridFilter').top(Infinity).sort(dashboardUtils.sortNodesByColor));
if(currGridFilter != null) {
cfDataSource.applyFilter('gridFilter',currGridFilter);
}
Expand Down

0 comments on commit d5e7c97

Please sign in to comment.