as we have cleaned up the report properties we do no longer need to pass the view as a parameter to the filter and we can make this method reusable by moving it to the config