Skip to content

Commit

Permalink
feat: change default filters
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Jul 18, 2024
1 parent d50edea commit 4f0a7db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ export class SearchFiltersComponent {
displayCount = 3
searchConfig = (
getOptionalSearchConfig().ADVANCED_FILTERS || [
'producerOrg',
'categoryKeyword',
'organization',
'revisionYear',
'license',
'qualityScore',
'territories',
]
).map((filter) => ({
fieldName: filter,
Expand Down
2 changes: 1 addition & 1 deletion conf/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# The advanced search filters available to the user can be customized with this setting.
# The following fields can be used for filtering: 'organization', 'format', 'publicationYear', 'inspireKeyword', 'keyword', 'topic', 'isSpatial', 'license', 'resourceType', 'representationType', 'revisionYear', 'categoryKeyword', 'qualityScore', 'territories', 'publisherOrg', 'producerOrg'
# any other field will be ignored
# advanced_filters = ['format', 'topic', 'keyword', 'organization', 'publisherOrg', 'producerOrg']
# advanced_filters = ['producerOrg', 'categoryKeyword', 'revisionYear', 'license', 'qualityScore']

0 comments on commit 4f0a7db

Please sign in to comment.