Forums › Forums › Search & Filter Pro › Filtering between Minimum and Maximum Values
Tagged: filter, Minimum and Maximum Values, post meta, range slider
- This topic has 33 replies, 3 voices, and was last updated 8 years, 9 months ago by
Anonymous.
-
Trevor(Private) December 23, 2016 at 10:57 am #78451
I see the slider has one handle and not 2? What does the url query string look like? Does it perhaps have something like
0+2000in it? In which case, maybe you would need to use the Edit Query Arguments filter to make this 2000+2000. To see if this works, manually alter the url and hit GO in the browser to refresh/reload the page.Anonymous(Private) December 24, 2016 at 4:44 am #78523I have disabled the 2nd handle.
Usually URL Query looks like below after changing the value.I tried changing the URL manually but no use.
I want to filter the values between 2 post meta fields.
Filtering value should be between the 2 pos meta fields to get the results.
Trevor(Private) December 27, 2016 at 10:04 am #78760I have been playing with the code and this will not work the way you have it. Instead of locking/hiding the upper value, can you lock/hide the lower value and not auto detect it but instead have it a 0? Then, instead of setting the match type to ‘Input within’, make it
Input overlapsTrevor(Private) December 28, 2016 at 10:27 am #78839As you have it, the visible slider is the
Fromslider.Well, whatever you did to lock/hide the
Toslider (the max value) would have to be moved over to theFrom(min) slider in coding.As to the backend, open that field’s settings and find the
Compare Modeselect box, and change that fromInput must be within the Post Meta rangetoInput overlaps any of the Post Meta range.Anonymous(Private) December 29, 2016 at 4:23 am #79047Trevor,
I have changed the settings as you said but still its not working fine.When i selected “Amount of the Loan” to 43500.
It should show all the loan where Selected loan amount (43500) is between Min Loan Amount value & Max Loan Amount Value.
But now its not working that way.
Can you please check it in the below URL and give me a solution.http://www.cybergiftindia.com/ottobanking/
Thanks
-
AuthorPosts