Forums Forums Search & Filter Pro Date Range w/ ACF

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #179719
    This reply has been marked as private.
    Anonymous
    #179760
    This reply has been marked as private.
    Trevor
    #179764

    Does it not work if you set the Input Type to Date range? See this screenshot:

    Anonymous
    #179766

    It works, but not the way I would like it to.
    When I search for 11/05/2018 it gives me only the one trip that started on that date. Ideally I’d like to have a from and a to date so that users could identify a range.
    Is there a way to modify it so that this will show all trip reports since 11/05/2018?

    Trevor
    #179768

    Not easily no. Our date range system only has equals as the operator. v3 of the plugin will have greater than and less than added.

    It IS possible to modify the query sent to the database by using one of our filters, as here:

    https://searchandfilter.com/documentation/action-filter-reference/

    The Edit Query Argument filter. It would need to be coded though by yourself or a third party coder. There may be snippets other users have posted in these forums, if you search for sf_edit_query_args

Viewing 5 posts - 1 through 5 (of 5 total)