Bug found in zoho api for widget pageSize=200 multiple pages
Hi
I think i found a bug in zoho api.
when I fetch more than 1 page with pageSize==200
than page1 and page2 will have a duplicate record and an omitted record
if pageSize<200 it will be ok.
here is an example code
ZOHO.CREATOR.init()
.then(function(data) {
//get GMRP, Parts Tree, relevant components
configg = {
reportName: "Report",
page: 1,
pageSize: 200
}
ZOHO.CREATOR.API.getAllRecords(configg).then(function(response) {
page1 = response.data;
printObjectList(page1);
});
config2 = {
reportName: "Report",
page: 2,
pageSize: 200
};
ZOHO.CREATOR.API.getAllRecords(config2).then(function(response) {
page2 = response.data;
printObjectList(page2);
});
});