Forums Forums Search & Filter Pro Search by dropdown dropdown S&F 1.4->2.1 migration problem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #44362

    Ross, the developer, is traveling for this long holiday weekend and will not be back until Tuesday.

    One of the feature requests for a future version is to have year dropdowns for date fields, but this is not possible at this time. You are correct in identifying that the plugin has been completely re-written for V2.x. I do not know where or even if you can make such a change.

    Anonymous
    #45071

    Hello,
    Is there a chance that the developer will look at this thread when he is back? Or should I re-create the post?

    Trevor
    #45075

    Yes. But he arrived back a day late and has had flu, which lasts for quite a few days. As soon as he and I can speak together, we will investigate this.

    Ross Moderator
    #45426

    Hi Adam

    Unfortunately modifying the plugin files is not directly supported by us, and is prone to this kind of error cropping up when updating.

    As of 2.x, S&F has completely rewritten the way it handles it own queries.

    Results, and terms, are cached in the DB, S&F then queries the cache, rather than WP for the results – so they remain fast.

    This means the modification above is no longer possible – as we just don’t query meta data like that anymore.

    I have been considering adding in a year dropdown field, I’ll give it another thought and see if its easy (for me) to implement.

    In the meantime the best you can do is use some of our filters, but thinking about it, I’m not sure you will be able to do the above…

    What you might want to look at is edit query args:

    http://www.designsandcode.com/documentation/search-filter-pro/action-filter-reference/#Edit_Query_Arguments

    Its a bit like pre_get_posts for S&F, and then directly below that – filter_input_object:

    http://www.designsandcode.com/documentation/search-filter-pro/action-filter-reference/#Filter_Input_Object

    This will allow you to modify the data that used for creating any field in S&F.

    If you want I can send you the previous version if you need to roll back, while I figure out if its feasible to add this functionality to S&F sooner rather than later.

    Thanks

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