Pass filter parameters to template