Open oliver-luschnitz opened 8 years ago
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.
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.