Skip to content

Commit

Permalink
Merge pull request angular-ui#5701 from chmirenko/master
Browse files Browse the repository at this point in the history
Exposing the column being sorted
  • Loading branch information
dlgski authored Nov 16, 2016
2 parents 0ee6449 + e8884bf commit 0ae4c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core/services/rowSorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ module.service('rowSorter', ['$parse', 'uiGridConstants', function ($parse, uiGr
propB = grid.getCellValue(rowB, col);
}

tem = sortFn(propA, propB, rowA, rowB, direction);
tem = sortFn(propA, propB, rowA, rowB, direction, col);

idx++;
}
Expand Down

0 comments on commit 0ae4c95

Please sign in to comment.