Skip to content

Commit

Permalink
added new facets
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed Dec 15, 2023
1 parent 3503f6b commit acc6ba8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/config/facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,51 @@ const facets = [
sortOn: 'custom',
sortOnCustomLabel: 'Alphabetical',
}),
multiTermFacet({
field: 'dpsir.keyword',
isFilterable: false,
isMulti: true,
label: 'DPSIR',
}),
multiTermFacet({
field: 'typology.keyword',
isFilterable: false,
isMulti: true,
label: 'Typology',
}),
multiTermFacet({
field: 'un_sdgs.keyword',
isFilterable: false,
isMulti: true,
label: 'UN SDGs',
}),
multiTermFacet({
field: 'data_provenances_organisations.keyword',
isFilterable: false,
isMulti: true,
label: 'Data sources',
}),
multiTermFacet({
field: 'creators.keyword',
isFilterable: false,
isMulti: true,
label: 'Creators',
authOnly: true,
}),
multiTermFacet({
field: 'contributors.keyword',
isFilterable: false,
isMulti: true,
label: 'Contributors',
}),
multiTermFacet({
field: 'subject.keyword_lc',
isFilterable: true,
isMulti: true,
label: 'Tags',
sortOn: 'value',
sortOrder: 'desc',
}),
];

export default {
Expand Down

0 comments on commit acc6ba8

Please sign in to comment.