akveo / akveo/ng2-smart-table

Empty table on empty filter string

Open
#370 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

In version 1.2.1 if you use
```
onSearch(query: string = '') {
this.source.setFilter([
{
field: 'name',
search: query,
},
], false);
}
```

with empty string, as a result you will get an empty table.
Probably is a bug.
Probably in this commit: [3886007](https://github.com/akveo/ng2-smart-table/commit/3886007ac393aca9341809896b483bd620775bb4)

Thank you guys for your work.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.