TASK22057: phase18 additional consolidation slices

This commit is contained in:
2026-03-14 06:52:17 +00:00
parent daa38d6459
commit fffe1d19dd
15 changed files with 460 additions and 66 deletions
@@ -56,6 +56,11 @@ const WEBAPI_URL =
export default async function ApiProxy(req, res) {
var searchString = req.query.searchString;
var pageNumber = req.query.pageNumber;
if (typeof searchString === "undefined" || searchString.length === 0) {
return res.status(400).json();
}
var token = await getToken();
var orderby = req.query.orderby;
@@ -84,8 +89,6 @@ export default async function ApiProxy(req, res) {
? "&$skiptoken=" + '<cookie pagenumber="' + pageNumber + '" />'
: "");
console.log("basic search paged:", queryUrl);
var apiResponse =
searchString.length > 0
? axios