Forums Forums Search & Filter Pro How can I change the query args in the url

Viewing 10 posts - 1 through 10 (of 15 total)
  • Trevor
    #189629

    If I understand the question correctly, you have one field on the form that represents more than set/type of data. Is that correct?

    Anonymous
    #189743
    This reply has been marked as private.
    Anonymous
    #189745

    It was supposed to say: This is my code:

    The meta-query is added as it should, but no changes in the results are made. (If the query was all wrong then at least there should be no result at all?)

    Trevor
    #189778

    After you change the URL, somehow you would need to get the results to reload. I am not sure that can be done.

    All this data is being stored in one meta field. I am not sure if it would work as separate meta fields (and thus separate sliders) either, if I understand that each post would have one set of data, and splitting it up would leave empty values in the other fields, which would cause the posts not to show in a search. If they had 0 in the other fields, that might work.

    Anonymous
    #189780

    Depending on which values are chosen in the inputs for rw (22-26) and tc (1-3) the corresponding ws and fw-value is used in the sliders. That is, if I choose 22 as rw and 1 as tc then the values in those meta boxes for ws and fw are compared to the data chosen in the rangers (ws-22-1 and rw-22-1), so I basically would need a conditional range slider which is not available.

    The code above is used with “sf_edit_query_args”. (I have asdo tried using “sf_results_url” as mentioned in the first text, but that didn’t work since it only gets me the base-url.)

    But if this is not the way to use the filter, how is it suppose to work? I thought the filter “sf_edit_query_args” would alter the query for the search, what does it do then? Just in case that will give me some new idea on how to advance.

    Otherwise I’ll just have to figure out a way to update the search query ’cause this is an important feature of this filter.

    Trevor
    #189786
    This reply has been marked as private.
    Anonymous
    #189794
    This reply has been marked as private.
    Trevor
    #189802
    This reply has been marked as private.
    Anonymous
    #191728
    This reply has been marked as private.
    Trevor
    #191733
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 15 total)