Open janette opened 3 years ago
admin/config/search/search-api/index/dkan/fields
api/1/search/facets
I expect the new fields to be available at this endpoint
dkan/modules/metastore/modules/metastore_search/src/Service.php
$facetsTypes = ['theme', 'keyword', 'publisher__name', 'license', 'distribution__item__format'];
src/frontend/src/config/search.jsx
"distribution__item__format": { "label": "Format", "field": "distribution__item__format", "showAll": false, "limit": 10, "reset": { "active": false, "icon": <span></span> }, }, "license": { "label": "License", "field": "license", "showAll": false, "limit": 10, "reset": { "active": false, "icon": <span></span> },
Rewrite user story that describes interface that will be built.
Steps To Reproduce
admin/config/search/search-api/index/dkan/fields
api/1/search/facets
Expected behavior
I expect the new fields to be available at this endpoint
Frontend steps once that is working:
dkan/modules/metastore/modules/metastore_search/src/Service.php
line 234src/frontend/src/config/search.jsx
~line 33