Commit 5a438720 authored by Carina Antunes's avatar Carina Antunes
Browse files

make filters apply to aggs

parent 779ebb03
...@@ -145,7 +145,7 @@ RECORDS_REST_FACETS = { ...@@ -145,7 +145,7 @@ RECORDS_REST_FACETS = {
'terms': {'field': '_data.authors.exact_match'} 'terms': {'field': '_data.authors.exact_match'}
} }
}, },
'post_filters': { 'filters': {
'collection': terms_filter("collection"), 'collection': terms_filter("collection"),
'type_format': terms_filter("type_format"), 'type_format': terms_filter("type_format"),
'authors': terms_filter("_data.authors.exact_match") 'authors': terms_filter("_data.authors.exact_match")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment