Merged PR 1811: use ticket number not title/reference/pinswg_name
Related work items: #18356
This commit is contained in:
@@ -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 && (
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user