Skip to content

filter can not be applied #11

@Sydney-Hawkesbury

Description

@Sydney-Hawkesbury

setting $scope.elasticQueryBuilder.query and $scope.elasticQueryBuilder.needsUpdate = true does not work.

I changed file dist/angular-elastic-builder.js, line 478 from

prev[choice] = truthy === (~group[key][obj.field].indexOf(choice));

to

prev[choice] = truthy === (group[key][obj.field].indexOf(choice) >= 0);

to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions