diff --git a/packages/ripple-tide-search/components/global/TideCustomCollection.vue b/packages/ripple-tide-search/components/global/TideCustomCollection.vue index e1ae7bd98..49a0aeb39 100644 --- a/packages/ripple-tide-search/components/global/TideCustomCollection.vue +++ b/packages/ripple-tide-search/components/global/TideCustomCollection.vue @@ -152,7 +152,10 @@ const searchResultsMappingFn = (item): TideSearchListingResultItem => { id: item._id, component: itemComponent, props: { - result: transformedItem + result: { + _id: item._id, + ...transformedItem + } } } } diff --git a/packages/ripple-tide-search/components/global/TideSearchListingResultsMapSidepanel.vue b/packages/ripple-tide-search/components/global/TideSearchListingResultsMapSidepanel.vue index cc24b9ae8..d8aa0233b 100644 --- a/packages/ripple-tide-search/components/global/TideSearchListingResultsMapSidepanel.vue +++ b/packages/ripple-tide-search/components/global/TideSearchListingResultsMapSidepanel.vue @@ -151,7 +151,7 @@ const handlePageChange = (event) => { const getItemId = (item) => { if (!item) return '' - return get(item, props.mapConfig?.sidePanel?.itemIdObjPath || 'unique_id') + return get(item, props.mapConfig?.sidePanel?.itemIdObjPath || '_id') }