add possibility to define a custom filter in the view