Forums › Forums › Search & Filter Pro › Sliders over a range of values
- This topic has 33 replies, 3 voices, and was last updated 8 years, 11 months ago by
Trevor.
-
Ross Moderator(Private) December 12, 2016 at 6:32 pm #75794
Hi Saul
Think I’ve fixed it, just emailed you the beta (I would say production ready)..
Let me know if this fixes things for you.
Thanks
Anonymous(Private) December 13, 2016 at 7:46 am #75887Hi Ross
Re your response, now if you search for values 14000 – 41000 nothing is returned, but almost everything should be returned.
The top range is reliably excluding when it drops below the max, but what I want is a return when the range overlaps either the min or max value, not one or the other.
Thanks for the help again.
Ross Moderator(Private) December 14, 2016 at 9:57 am #76129Hey I’m back into today looking into this shortly – thought I’d checked to ensure both sides but maybe an issue.
Will send another version to test in not too long.
Thanks
Ross Moderator(Private) December 14, 2016 at 3:19 pm #76207Just sent you an email with the update 🙂
Anonymous(Private) December 14, 2016 at 6:03 pm #76297Hi Ross
It’s still excluding the results if one of the handles is inside the range.
For example, if the minimum is Min = 3000, as soon as I hit x > 4000 on the bottom slider, I no longer get that item.
If the maximum is Max = 10 000, as soon as I hit x < 10 000 on that item, it gets excluded.
If Max is 10 000 and Min is 3 000, I want a) slider bottom at 2 000 and slider top at 4 000 to return the item AND b) slider bottom at 9 000 and 11 000 to return the item.
What I want to implement is something like if Max OR Min within range. So something like this:
if (bottom slider < (Max OR Min) < top slider) {
return item;
}At the moment there seems to be an AND somewhere.
I hope this is clear now.
Regards
-
AuthorPosts