Skip to content

Commit

Permalink
fix(filter): Custom Filter fix (#4012)
Browse files Browse the repository at this point in the history
  • Loading branch information
alam123 authored and JLLeitschuh committed May 27, 2016
1 parent a5ec21f commit d6d00c2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/js/core/services/rowSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,11 @@ module.service('rowSearcher', ['gridUtil', 'uiGridConstants', function (gridUtil
for (var i = 0; i < filtersLength; i++) {
var filter = filters[i];

var ret = rowSearcher.runColumnFilter(grid, row, column, filter);
if (!ret) {
return false;
if ( !gridUtil.isNullOrUndefined(filter.term) && filter.term !== '' || filter.noTerm ){
var ret = rowSearcher.runColumnFilter(grid, row, column, filter);
if (!ret) {
return false;
}
}
}

Expand Down

0 comments on commit d6d00c2

Please sign in to comment.