Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1583 | reference | concept/mapping search t…
Browse files Browse the repository at this point in the history
…o exclude fuzzy and wildcard results
  • Loading branch information
snyaggarwal committed Jul 13, 2023
1 parent 50d9181 commit 6e68fec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/collections/ReferenceForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ class ReferenceForm extends React.Component {
byGlobal &&
<Search
{...this.props}
staticParams={{excludeWildcard: true, excludeFuzzy: true}}
noFilters
nested
asReference
Expand Down
2 changes: 2 additions & 0 deletions src/components/collections/ResourceReferenceForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class ResourceReferenceForm extends React.Component {
<Search
{...this.props}
resource='concepts'
staticParams={{excludeWildcard: true, excludeFuzzy: true}}
asReference
nested
essentialColumns
Expand All @@ -150,6 +151,7 @@ class ResourceReferenceForm extends React.Component {
<Search
{...this.props}
resource='mappings'
staticParams={{excludeWildcard: true, excludeFuzzy: true}}
asReference
nested
essentialColumns
Expand Down

0 comments on commit 6e68fec

Please sign in to comment.