Skip to content

Commit 617cb74

Browse files
committed
Fix(gridColumn): fix #3423 sortChanged should pass grid
1 parent 81191a0 commit 617cb74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/features/exporter/test/exporter.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('ui.grid.exporter uiGridExporterService', function () {
8989
});
9090
});
9191

92-
iit('set all options to non-default, including using deprecated exporterAllDataPromise', function() {
92+
it('set all options to non-default, including using deprecated exporterAllDataPromise', function() {
9393
var callback = function() {};
9494
options = {
9595
exporterSuppressMenu: true,

src/js/core/factories/GridColumn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ angular.module('ui.grid')
724724
// as is
725725
GridColumn.prototype.unsort = function () {
726726
this.sort = {};
727-
self.grid.api.core.raise.sortChanged( self, self.grid.getColumnSorting() );
727+
self.grid.api.core.raise.sortChanged( self.grid, self.grid.getColumnSorting() );
728728
};
729729

730730
};

0 commit comments

Comments
 (0)