Commit 945ab7ba authored by Pablo Panero's avatar Pablo Panero
Browse files

config: add type_format and authors facets configuration

parent a5dacdec
......@@ -122,10 +122,18 @@ RECORDS_REST_FACETS = {
'aggs': {
'collection': {
'terms': {'field': 'collection'}
},
'type_format': {
'terms': {'field': 'type_format'}
},
'authors': {
'terms': {'field': '_data.authors.exact_match'}
}
},
'post_filters': {
'collection': terms_filter("collection")
'collection': terms_filter("collection"),
'type_format': terms_filter("type_format"),
'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