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.
-
Anonymous(Private) January 7, 2017 at 7:30 am #80616
Hi Trevor,
I tried that development version and it doesn’t solve this issue.
But that development version solved the Thousand Separator query (https://support.searchandfilter.com/forums/topic/thousands-separator/).Thanks.
Ross Moderator(Private) January 9, 2017 at 5:28 pm #80904Hi Jeykumar
Where can I see a version of your site with the copy of the beta Trevor sent you?
The beta, which fixed the thousands separator, has since had a few further bug fixes and is ready for release tomorrow.
One of them being a bug with the compare mode “overlap” when using a different start / end key – so I’m surprised this latest version isn’t working for you.
Thanks
Ross Moderator(Private) January 11, 2017 at 12:26 am #81256Hi Jeykumar
I had a look and there is no issue with the way “input overlaps” works. Its supposed to work like that.. if there is any overlap at all between the two ranges (input & meta) then its considered an overlap, and a match will occur on the posts.
I tried to explain with an image – this shows all occasions where input IS overlapping, so would it would return the posts:

I think what you are trying to do using “input overlap” will not work.
I think your original idea of updating both handles when one of them moves is the only option (and choosing compare mode
input within post meta.. S&F wasn’t designed to have a single handle…I will put this on the feature requests list.
To point you in the right direction… you already know how to select the noUiSlider from our previous post:
var slider = jQuery('.sf-field-post-meta-_price .meta-slider')[0];so you have to detect when the value of
slideris changed and then update the other handle automatically – I think you want theslideorchangeevent.. this may help:https://refreshless.com/nouislider/events-callbacks/
Hope that clears things up a little bit.
Thanks
-
AuthorPosts