uat defect 37
This commit is contained in:
@@ -64,7 +64,8 @@ export default async function ApiProxy(req, res) {
|
||||
: "";
|
||||
|
||||
queryString +=
|
||||
_.has(searchString, "lpa") && searchString.lpa != null
|
||||
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
|
||||
searchString.lpa != null
|
||||
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
||||
: "";
|
||||
|
||||
|
||||
@@ -99,7 +99,8 @@ export default async function ApiProxy(req, res) {
|
||||
: "";
|
||||
|
||||
queryString +=
|
||||
_.has(searchString, "lpa") && searchString.lpa != null
|
||||
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
|
||||
searchString.lpa != null
|
||||
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
||||
: "";
|
||||
|
||||
|
||||
@@ -219,6 +219,7 @@ export default async function handler(req, res) {
|
||||
repCapacity = "LO";
|
||||
break;
|
||||
case "lpa":
|
||||
case "LPA":
|
||||
repCapacity = "LPA";
|
||||
break;
|
||||
|
||||
|
||||
@@ -268,7 +268,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
? true
|
||||
: false;
|
||||
|
||||
//isLPA && store.dispatch(setRepresentationCapacity("lpa"));
|
||||
//isLPA && store.dispatch(setRepresentationCapacity("LPA"));
|
||||
|
||||
if (query.hasOwnProperty("state")) {
|
||||
console.log("is lpa?:", isLPA);
|
||||
|
||||
Reference in New Issue
Block a user