refactor: pagination is now controlled only by the calling controllers, csv limited to 10000 records, this also prevents the search from being fired twice (one to get the page_size) and the other the full results. This can still be refactored by making custom_search paginate only conditionally, that will be picked up later