def _get_filter_settings(relay_config, flt):
    """
    Gets the filter options from the relay config or the default option if not specified in the relay config

    :param relay_config: the relay config for the request
    :param flt: the filter
    :return: the options for the filter
    """
    filter_settings = relay_config.config.get('filter_settings', {})
    filter_key = flt.spec.id
    return filter_settings.get(filter_key, None)