Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
5a438720
Commit
5a438720
authored
May 27, 2020
by
Carina Antunes
Browse files
make filters apply to aggs
parent
779ebb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/config.py
View file @
5a438720
...
...
@@ -145,7 +145,7 @@ RECORDS_REST_FACETS = {
'terms'
:
{
'field'
:
'_data.authors.exact_match'
}
}
},
'
post_
filters'
:
{
'filters'
:
{
'collection'
:
terms_filter
(
"collection"
),
'type_format'
:
terms_filter
(
"type_format"
),
'authors'
:
terms_filter
(
"_data.authors.exact_match"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment