From 0c12d35b4faa2ef753e3630f41b1fb467710fb3d Mon Sep 17 00:00:00 2001 From: ANSINGH Date: Thu, 24 Aug 2023 11:56:26 -0700 Subject: [PATCH] pagination update --- backend/src/components/sdc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/components/sdc.js b/backend/src/components/sdc.js index c3bd7152e..c55c29ee2 100644 --- a/backend/src/components/sdc.js +++ b/backend/src/components/sdc.js @@ -113,7 +113,7 @@ async function getSDCSchoolCollectionStudentPaginated(req, res) { const search = [{ condition: null, - searchCriteriaList: [{key: 'sdcSchoolCollectionID', value: req.params.sdcSchoolCollectionID, operation: FILTER_OPERATION.EQUAL, valueType: VALUE_TYPE.UUID}] + searchCriteriaList: [{key: 'sdcSchoolCollection.sdcSchoolCollectionID', value: req.params.sdcSchoolCollectionID, operation: FILTER_OPERATION.EQUAL, valueType: VALUE_TYPE.UUID}] }, { condition: CONDITION.AND, searchCriteriaList: createSearchCriteria(req.query.searchParams)