Skip to content

Commit

Permalink
Add order to facets
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Jan 5, 2022
1 parent adf73cf commit 8b33ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bgbl/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class PublicationSearch(FacetedSearch):
'year': NumberRangeFacet(field='year'),
'page': NumberRangeFacet(field='page'),
'number': NumberRangeFacet(field='number'),
'order': NumberRangeFacet(field='order'),
'date': DateHistogramFacet(
field='date', calendar_interval='year'
)
Expand Down

0 comments on commit 8b33ad0

Please sign in to comment.