14656 filtering adjust

This commit is contained in:
2025-03-10 09:24:23 +00:00
parent ebed61f75f
commit f6fdc79ae3
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -888,7 +888,7 @@ const DocumentDetails = (props) => {
selectedOption,
selectedDocumentType
)
.then((data) => data)
// .then((data) => data)
.then((data) => {
setDocumentDetails(data);
setShowSpinnerState(false);
@@ -1012,7 +1012,7 @@ const DocumentDetails = (props) => {
return docObj;
};
const searchDocumentResultsObj = docDetailsObj();
//const searchDocumentResultsObj = docDetailsObj();
}, [
incidentid,
setDocumentDetails,
+1 -1
View File
@@ -23,7 +23,7 @@ const EventsDetails = (props) => {
return obj.hasOwnProperty(property) && obj[property] !== null;
}
console.log(eventsArr.length > 0);
//console.log(eventsArr.length > 0);
return (
eventsArr.length > 0 && (
@@ -121,7 +121,12 @@ export default async function ApiProxy(req, res) {
}
}
console.log(docTypeQueryString);
// console.log(
// "documentType:",
// documentType,
// "docTypeQueryString:",
// docTypeQueryString
// );
//console.log("has this passed docuemntType:", documentType);
//(documentType !="all" && " pinswg_pinswg_isharedocumentlocations eq " + )
@@ -140,7 +145,7 @@ export default async function ApiProxy(req, res) {
? "&$skiptoken=" + ('<cookie pagenumber="' + pageNumber + '" />')
: "");
console.log("docu paged: ", queryUrl);
//console.log("docu paged 1: ", queryUrl);
return axios
.get(