You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration of the endpoint URL /api/records and the facets/sort options is now taken from the RECORDS_REST_ENDPOINTS config, search_index field. See Jinja macro:
The issue is that in the records-rest, the search_index field might not be defined (automatically retrieved from the search class).
The second issue is that facets works only with terms, the config parsing should changed or enhanced.
The text was updated successfully, but these errors were encountered:
ntarocco
changed the title
Get seach-index from endpoint_name config
Get search_index from RECORDS_REST_ENDPOINTS config
May 14, 2020
ntarocco
changed the title
Get search_index from RECORDS_REST_ENDPOINTS config
Fix how the RECORDS_REST... config is injected in search template
May 14, 2020
format_config macro in
views.py
The configuration of the endpoint URL
/api/records
and the facets/sort options is now taken from theRECORDS_REST_ENDPOINTS
config,search_index
field. See Jinja macro:The issue is that in the records-rest, the
search_index
field might not be defined (automatically retrieved from the search class).The second issue is that facets works only with
terms
, the config parsing should changed or enhanced.The text was updated successfully, but these errors were encountered: