Merged PR 2274: case deadline and watch stream on results
case deadline and wat Related work items: #22423, #22783
This commit is contained in:
@@ -86,7 +86,10 @@ export default async function ApiProxy(req, res) {
|
||||
"&$count=true" +
|
||||
"&$expand=" +
|
||||
navigationProperty +
|
||||
"($select=ticketnumber)";
|
||||
"($select=ticketnumber)" +
|
||||
(primaryIdAttribute == "pinswg_sipscase"
|
||||
? ",pinswg_sipscase($select=ticketnumber),pinswg_CaseDeadlineExtension_pinswg_sips($select=pinswg_casedeadlineextensionid,pinswg_noofdaysextended,pinswg_reasonforextension,pinswg_agreedorimposedextension,pinswg_datedeadlineextended),pinswg_sips_pinswg_sipsevent($select=pinswg_linktotheevent,pinswg_name,pinswg_dateeventrequested,pinswg_typeofevent,createdon,modifiedon)"
|
||||
: "");
|
||||
|
||||
queryUrl =
|
||||
queryUrl +
|
||||
@@ -137,7 +140,7 @@ export default async function ApiProxy(req, res) {
|
||||
|
||||
if (_.has(data, "@odata.nextLink") === true) {
|
||||
const dataStr = JSON.stringify(data["@odata.nextLink"]);
|
||||
data["@odata.nextLink"] = dataStr.split("/v8.2/")[1];
|
||||
data["@odata.nextLink"] = dataStr.split("/v9.2/")[1];
|
||||
}
|
||||
|
||||
return respondSuccess(res, data);
|
||||
|
||||
Reference in New Issue
Block a user