Skip to content

Commit 4d2315e

Browse files
authored
Merge pull request #5610 from StrangelyTyped/noterm-fix
fix(filter): Fix noTerm option for filtering
2 parents 739e578 + 45bb113 commit 4d2315e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/services/rowSearcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ module.service('rowSearcher', ['gridUtil', 'uiGridConstants', function (gridUtil
124124
}
125125

126126
if ( !gridUtil.isNullOrUndefined(filter.term) ){
127-
// it is possible to have noTerm. We don't need to copy that across, it was just a flag to avoid
128-
// getting the filter ignored if the filter was a function that didn't use a term
127+
// it is possible to have noTerm.
129128
newFilter.term = rowSearcher.stripTerm(filter);
130129
}
130+
newFilter.noTerm = filter.noTerm;
131131

132132
if ( filter.condition ){
133133
newFilter.condition = filter.condition;

0 commit comments

Comments
 (0)