Skip to content

Commit

Permalink
hot fix #997
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jan 31, 2017
1 parent 7fc0cc6 commit ee4252b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/TableDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export class TableDataStore {
break;
}
case Const.FILTER_TYPE.CUSTOM: {
const cond = filterObj[key].props ? filterObj[key].props.cond : Const.FILTER_COND_EQ;
const cond = filterObj[key].props ? filterObj[key].props.cond : Const.FILTER_COND_LIKE;
valid = this.filterCustom(targetVal, filterVal, filterObj[key].value, cond);
break;
}
Expand All @@ -471,7 +471,7 @@ export class TableDataStore {
filterFormatted && filterFormatted && format) {
filterVal = format(filterVal, row, formatExtraData, r);
}
const cond = filterObj[key].props ? filterObj[key].props.cond : Const.FILTER_COND_EQ;
const cond = filterObj[key].props ? filterObj[key].props.cond : Const.FILTER_COND_LIKE;
valid = this.filterText(targetVal, filterVal, cond);
break;
}
Expand Down

0 comments on commit ee4252b

Please sign in to comment.