History data has security permissions, meaning a user will see only history for those reports he has rights to.
Problem: Because security is done using @Secured spring annotation :
@Transactional(readOnly = true) @Secured("AFTER_ACL_COLLECTION_READ") public List getRunHistory() {... }
our data provider has to load all history data , which will become time consuming soon enough. Pagination is used, but in this case it is only a mode to show less data at a time.
Solution: History will be load only for the current day. A day filter is added to our history panel to allow for seeing history for any other previous day.