diff --git a/src/components/repos/RepoConceptsMatch.jsx b/src/components/repos/RepoConceptsMatch.jsx
index e41f3651..aefc3b6c 100644
--- a/src/components/repos/RepoConceptsMatch.jsx
+++ b/src/components/repos/RepoConceptsMatch.jsx
@@ -265,7 +265,7 @@ const RepoConceptsMatch = () => {
data.row[newKey] = newValue
}
})
- APIService.concepts().appendToUrl('$match/').post(data, null, null, {includeSearchMeta: true, includeMappings: true, mappingBrief: true}).then(response => {
+ APIService.concepts().appendToUrl('$match/').post(data, null, null, {includeSearchMeta: true, includeMappings: true, mappingBrief: true, mapTypes: 'SAME-AS,SAME AS,SAME_AS', verbose: true}).then(response => {
setConceptsResponse(response)
setTimeout(() => {
highlightTexts(response?.data || [], null, true)
@@ -355,13 +355,13 @@ const RepoConceptsMatch = () => {
map(same_as_mappings, (mapping, i) => (
@@ -382,7 +382,7 @@ const RepoConceptsMatch = () => {
marginTop: '2px',
marginBottom: '2px',
'.MuiListItemText-primary': {fontSize: '12px'},
- '.MuiListItemText-secondary': {fontSize: '10px'}
+ '.MuiListItemText-secondary': {fontSize: '12px'}
}}
/>
@@ -485,18 +485,19 @@ const RepoConceptsMatch = () => {
noSorting
resultContainerStyle={{height: showItem?.id ? '25vh' : 'calc(100vh - 200px)'}}
onShowItemSelect={item => setShowItem(item)}
+ selectedToShow={showItem}
extraColumns={[
{
sortable: false,
id: 'mappings',
- labelKey: 'mapping.mappings',
+ labelKey: 'mapping.same_as_mappings',
renderer: formatMappings,
},
{
sortable: false,
- id: 'search_meta.search_confidence',
+ id: 'search_meta.search_score',
labelKey: 'search.score',
- value: 'search_meta.search_confidence',
+ value: 'search_meta.search_score',
renderer: item => (
onConfidenceClick(event, item)}>
@@ -504,6 +505,13 @@ const RepoConceptsMatch = () => {
)
+ },
+ {
+ sortable: false,
+ id: 'search_meta.search_confidence',
+ labelKey: 'search.confidence',
+ value: 'search_meta.search_confidence',
+ align: 'right'
}
]}
toolbarControl={}
diff --git a/src/components/search/TableResults.jsx b/src/components/search/TableResults.jsx
index fccf682c..afc031d8 100644
--- a/src/components/search/TableResults.jsx
+++ b/src/components/search/TableResults.jsx
@@ -167,7 +167,7 @@ const TableResults = ({selected, bgColor, handleClick, handleRowClick, handleSel
>
{value}
:
-
+
{value}
})