Code tidy: get filters from View function when getting records