Skip to content

Commit

Permalink
updated on facets and landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed Jan 16, 2023
1 parent f8de60d commit a9c2995
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/config/facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ const facets = [
field: 'instrument',
isFilterable: true,
isMulti: true,
label: 'Legal instruments',
label: 'Legislation',
show: 10000,
showAllOptions: true, // show all options (even if 0) in modal facet
alwaysVisible: true,
}),
multiTermFacet({
field: 'rod',
Expand All @@ -39,6 +40,7 @@ const facets = [
label: 'Available formats',
show: 10000,
showAllOptions: true, // show all options (even if 0) in modal facet
alwaysVisible: true,
}),
multiTermFacet({
field: 'gemet',
Expand Down
8 changes: 7 additions & 1 deletion src/config/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ export default {
},
{
id: 'instrument',
title: 'Legal instruments',
title: 'Legislation',
facetField: 'instrument',
sortOn: 'alpha',
},
{
id: 'formats',
title: 'Formats',
facetField: 'dataset_formats',
sortOn: 'alpha',
},
{
id: 'website',
title: 'Sources',
Expand Down

0 comments on commit a9c2995

Please sign in to comment.