These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Sliders over a range of values
Hi 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
While I need to do further testing, it appears as though my issue has been resolved satisfactorily.
I very much appreciate the level of responsiveness I’ve received over this – that’s the type of service that makes one reuse plugins or recommend them.
Thank you very much.
Thank you for the kind words, it is appreciated. Feel free to leave a review if you wish:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/reviews/#comment
Is it OK to close this thread as resolved?