0👍
```
filteredRow: function(){
return this.model.data.filter((row) => {
return row;
});
}
```
should be
```
filteredRow: function(){
return this.model.data.filter((row) => {
// containOrNot should return bool
return containOrNot(row, this.query.search_input)
});
}
```
0👍
filteredRow: function(){
return this.model.data.filter((row) => {
//i don't know you value key.. so just picking first property
for(var key in row){
return String(row[key]).indexOf(this.query.search_input);
}
});
}
Source:stackexchange.com