Skip to content
Snippets Groups Projects
Commit 7a28634e authored by ncastejon's avatar ncastejon
Browse files

Fix wrong post_filter field for ES request

parent 50d2a18f
Branches
Tags
1 merge request!29Version 2.1.1
Pipeline #
......@@ -567,7 +567,7 @@ export class ElasticsearchService {
// The difference is that the aggregations will be calculated before this filter is applied.
requestOptions.body['post_filter'] = {
terms: {
'metadata-fr.type.keyword': filtersScope,
'type.keyword': filtersScope,
},
};
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment