Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(facets-free-text): dont send empty filter
Browse files Browse the repository at this point in the history
Closes #1007
  • Loading branch information
Christine Yu committed Jul 8, 2015
1 parent 975e8c6 commit 2cd6117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/facets/facets.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module ngApp.components.facets.services {
return filter.content.field === field;
});

if (filters.content) {
if (filters.content && filters.content.length > 0) {
filters = this.UserService.addMyProjectsFilter(filters, projectsKeys[entity]);
options.filters = filters;
}
Expand Down

0 comments on commit 2cd6117

Please sign in to comment.