File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
projects/igniteui-angular/src/lib/grids/common Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { IGroupingState } from '../../data-operations/groupby-state.interface';
55import { IGroupingExpression } from '../../data-operations/grouping-expression.interface' ;
66import { IGroupByResult } from '../../data-operations/grouping-result.interface' ;
77import { getHierarchy , isHierarchyMatch } from '../../data-operations/operations' ;
8- import { DefaultSortingStrategy , ISortingExpression } from '../../data-operations/sorting-strategy' ;
8+ import { DefaultSortingStrategy , ISortingExpression , SortingDirection } from '../../data-operations/sorting-strategy' ;
99import { GridType } from './grid.interface' ;
1010
1111const DATE_TYPE = 'date' ;
@@ -141,6 +141,9 @@ export class IgxSorting implements IGridSortingStrategy {
141141 private prepareExpressions ( expressions : ISortingExpression [ ] , grid : GridType ) : IGridInternalSortingExpression [ ] {
142142 const multipleSortingExpressions : IGridInternalSortingExpression [ ] = [ ] ;
143143 for ( const expr of expressions ) {
144+ if ( expr . dir === SortingDirection . None ) {
145+ continue ;
146+ }
144147 if ( ! expr . strategy ) {
145148 expr . strategy = DefaultSortingStrategy . instance ( ) ;
146149 }
You can’t perform that action at this time.
0 commit comments