mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fixing deduping for filters
This commit is contained in:
parent
7f63c9fef5
commit
8e35fffaa7
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ define(function (require) {
|
|||
_.each(value, function (clause) {
|
||||
var previous = _.find(filters, function (item) {
|
||||
if (item && item.query) {
|
||||
return item.query.match[field] === { query: clause, type: 'phrase' };
|
||||
return item.query.match[field].query === clause;
|
||||
} else if (item && item.exists && field === '_exists_') {
|
||||
return item.exists.field === clause;
|
||||
} else if (item && item.missing && field === '_missing_') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue