Creating an override style filter

Occasionally, you may want a query view to have a default filter set from the base table, and then be able to override that filter. We can use mustache templating within the definition of the query view to achieve this. The below structure allows for a filter to be applied as a default from the base_table, which is then overridden by any filter selection on the query_view. In this case, the override_field is likely a filter only field defined within the query view.

{{# query_view.override_field.filter}} field_to_filter_on {{/ query_view.override_field.filter}}
  {{^ query_view.override_field.filter}} {{# base_table.default_field.filter }} field_to_filter_on {{/ base_table.default_field.filter }}
  {{/ query_view.override_field.filter}}