Steps to Reproduce:
- Execute the /erm/sas/publicLookup with the query parameter stats=true
- Examine the results and note not only are the paging stats not present, the "records" field is an empty array
The per page records and stats for continued paging
No records in the "records" field and no paging stats
Since "perPage" is capped at 5, paging is often necessary. Without stats, one can page by 5 (or a "perPage" < 5 if specified) via "offset" until reaching a page with no records. However, most, if not all, other ERM related collection APIs return stats properly if supplied via query parameter. Having to special case this one endpoint is not ideal.