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?
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy