Merged PR 1811: use ticket number not title/reference/pinswg_name

Related work items: #18356
This commit is contained in:
Robert Bond
2025-08-12 08:42:11 +00:00
27 changed files with 226 additions and 89 deletions
+5 -5
View File
@@ -239,9 +239,8 @@ const TopThree = (props) => {
: showTopThreeArr[key][
"_pinswg_case_value@OData.Community.Display.V1.FormattedValue"
]
: showTopThreeArr[key][
"_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
],
: showTopThreeArr[key]
.ticketnumber,
"currentType": topThreeType,
"incidentid": getIncidentId(
@@ -255,7 +254,8 @@ const TopThree = (props) => {
});
}}
>
{topThreeType != "watchedCases"
{showTopThreeArr[key].pinswg_title}
{/* {topThreeType != "watchedCases"
? topThreeType != "myRepresentations"
? topThreeType == "mySubmittedReps"
? showTopThreeArr[key].pinswg_title
@@ -265,7 +265,7 @@ const TopThree = (props) => {
]
: showTopThreeArr[key][
"_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
]}{" "}
]}{" "} */}
</Link>
)}
{topThreeType == "watchedCases" && !props.myReps && (
+5 -4
View File
@@ -36,6 +36,8 @@ import {
setMyRepresentationsDetails,
} from "../../store/myRepresentations/action";
import RepsOnResults from "../search/repsonresults";
const ViewAllResults = (props) => {
const {
searchString,
@@ -268,10 +270,7 @@ const ViewAllResults = (props) => {
? currentView.viewKey ==
"myRepresentations"
? resultsArr[key].caseRef
: currentView.viewKey ==
"mySubmittedReps"
? resultsArr[key].pinswg_title
: resultsArr[key].ticketnumber
: resultsArr[key].pinswg_title
: resultsArr[key][
"_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
]}
@@ -284,6 +283,8 @@ const ViewAllResults = (props) => {
</span>
</>
)}
<RepsOnResults detailsObj={resultsArr[key]} />
</>
)}
</dd>