You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get all categories.
In that my Magento's default max limit to fetch data is 300
It means I have to fetch data in batch of 300.
But there is not provision of batch, there is page_size in get_paginated function, but it is getting overwritten by limit that I send
If i don't send any limit then Magento throws error "Maximum SearchCriteria pageSize is 300"
And if I send limit then due to "if is_limited and count >= limit" this condition I am only getting that much records only
Even if I try to maintain current_page through query it is getting overwritten in code
I think there is a mix match of page_size and limit over here.
Can you please help me understand if there is any way where I can fetch all the records?
The text was updated successfully, but these errors were encountered:
I am trying to get all categories.
In that my Magento's default max limit to fetch data is 300
It means I have to fetch data in batch of 300.
But there is not provision of batch, there is page_size in get_paginated function, but it is getting overwritten by limit that I send
If i don't send any limit then Magento throws error "Maximum SearchCriteria pageSize is 300"
And if I send limit then due to "if is_limited and count >= limit" this condition I am only getting that much records only
Even if I try to maintain current_page through query it is getting overwritten in code
I think there is a mix match of page_size and limit over here.
Can you please help me understand if there is any way where I can fetch all the records?
The text was updated successfully, but these errors were encountered: