make get_filter_values an API, have template try to fill in filter value from params