Skip to content

Commit

Permalink
Issue tochoromero#34 - Avoid filtering against null properties when a…
Browse files Browse the repository at this point in the history
… filter value is empty
  • Loading branch information
daniel committed Mar 12, 2018
1 parent c7521f2 commit ec0ccdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/au-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class AureliaTableCustomAttribute {
return false;
}

if (filter.value === null || filter.value === undefined || !Array.isArray(filter.keys)) {
if (filter.value === null || filter.value === undefined || filter.value === "" || !Array.isArray(filter.keys)) {
return true;
}

Expand Down

0 comments on commit ec0ccdb

Please sign in to comment.