We have 3634 organizations in the database but the list in Commerce only shows max 1000 items?
Anyone know if this is by design?
Sure, it will not be common to page through all organizations but at least the TOTAL number of organizations should be correct?
This is controlled by MetaObjectOptions
The default value is 1000. I will register bug though as it should show the correct total number is a the api returns the total count.
We already have a bug that was tested and in testing. which should solve this problem
OK thanks, it works by updating the MetaObjectOptions but to be honest there is something rotten over this. Or rather the usage of getting organizations in the UI.
Is there a way to pull Organizations beyond 1000 without setting the MetaObjectOptions. We have almost 100k orgs and when I set that property my application crashes from memory and CPU overutilization. I did see the GetOrganizationsByPattern(), but I think that method is still restricted by the first 1000.
Loading the contacts/organizations, the right way – Quan Mai's blog (vimvq1987.com) finally got around to write this. Hope it helps