Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1049 | fixing facets filter drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 26, 2021
1 parent 8ed1d6d commit 8ba7273
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/search/ResultConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const TAGS = {
ValueSet: [...VALUE_SET_TAGS]
}
export const FACET_ORDER = {
concepts: ['owner', 'ownerType', 'source', 'conceptClass', 'datatype', 'locale', 'retired', 'collection_membership', 'name_types', 'description_types'],
concepts: ['owner', 'ownerType', 'source', 'conceptClass', 'datatype', 'locale', 'retired', 'collection_membership', 'nameTypes', 'descriptionTypes'],
mappings: [
'owner', 'ownerType', 'source', 'mapType',
'fromConceptOwner', 'fromConceptOwnerType', 'fromConceptSource', 'fromConcept',
Expand Down
1 change: 0 additions & 1 deletion src/components/search/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ class Search extends React.Component {
}
if(!this.props.fhir)
newState.isURLUpdatedByActionChange = true
newState.facets = {}
this.setState(newState, () => {
const {
resource, searchStr, page, exactMatch, sortParams, updatedSince, limit,
Expand Down

0 comments on commit 8ba7273

Please sign in to comment.