Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
Description
- Refactor API & Core/Repository loadLocationChildren() to return LocationList value
- Note: Add doc and impl so that $limit = 0 means you are doing a pure count, like in SearchService
- Remove Location->childCount.
Goal: Move the count from Location to the loadLocationChildren() return value to improve performance of loading Locations by forcing it to be on demand and make the Location value object cacheable across user permissions.
Note: Remember to check REST impl (can be optimized with this).