From 8d8ae89ae68577b7f0c56b2a5bac3fa74461585b Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Tue, 12 Aug 2025 07:20:43 +0100 Subject: [PATCH] show reps on results for view all --- components/myportal/viewall.js | 6 +++++- i18n.js | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/components/myportal/viewall.js b/components/myportal/viewall.js index 8301e9e1..f671884c 100644 --- a/components/myportal/viewall.js +++ b/components/myportal/viewall.js @@ -36,6 +36,8 @@ import { setMyRepresentationsDetails, } from "../../store/myRepresentations/action"; +import RepsOnResults from "../search/repsonresults"; + const ViewAllResults = (props) => { const { searchString, @@ -268,7 +270,7 @@ const ViewAllResults = (props) => { ? currentView.viewKey == "myRepresentations" ? resultsArr[key].caseRef - : resultsArr[key].ticketnumber + : resultsArr[key].pinswg_title : resultsArr[key][ "_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue" ]} @@ -281,6 +283,8 @@ const ViewAllResults = (props) => { )} + + )} diff --git a/i18n.js b/i18n.js index bfe06a35..1e050b32 100644 --- a/i18n.js +++ b/i18n.js @@ -20,7 +20,12 @@ module.exports = { "/myportal/searchresults": ["search", "myportal", "case"], "/myportal/case": ["case"], "/myportal/case/[ticketnumber]": ["case"], - "/myportal/dnsapplications": ["search", "dnsCommon", "dnsApplications"], + "/myportal/dnsapplications": [ + "search", + "dnsCommon", + "dnsApplications", + "case", + ], "/myportal/dnsdetails": [ "case", "search", @@ -59,7 +64,7 @@ module.exports = { "/dns": ["dnsCommon", "dnsHome"], "/dns/applications": ["dnsCommon", "dnsApplications"], "/dns/application-view": ["dnsCommon", "dnsApplicationView"], - "/dnsapplications": ["search", "dnsCommon", "dnsApplications"], + "/dnsapplications": ["search", "dnsCommon", "dnsApplications", "case"], "/dnsdetails": ["case", "search", "dnsCommon", "dnsApplications"], "/help/cookies": ["common", "cookies"], "/account/register": ["common", "account"],