- March 8, 2016 at 5:55 am #7946
Hello Ernest, I’m very happy with the Ajax Search Pro. I have not even started configuring the Related Posts plugin, but it seems like it will be equally as impressive! With Ajax Search Pro I am trying to find out ways to use the BETWEEN operator in Custom Field Selector other than using the slider? I am using it to create a real estate website and I would like to be able to select between X to Y bedrooms, between X to Y bathrooms. I’d like for bedrooms and bathrooms to each have 2 dropdowns (a minimum and a maximum). When I create Bedrooms Minimum and create a drop down with a More Than operator and a Bedrooms Maximum with a Less Than operator it works if I select one or the other, but does not work if I fill out both. Also, I would like to be able to make sure that the related minimum and maximum fields stay together. Currently depending on the size of the screen Bedrooms Minimum may show on one line while Bedrooms Maximum shows on the next…
Alternatively, is there a way to set a range in the drop down values? For instance 0-1000||0 – 1,000 square feet?March 8, 2016 at 1:19 pm #7949
I’m glad you like the plugin 🙂
I think you just discovered a bug, as I was able to confirm the same behavior on my test environment. The recent version introduced the possibility to filter by the same custom field multiple times, but I guess I made a mistake somewhere. I’m going to investigate further and fix this for the upcoming update. Sorry about that.
For this purpose I rather recommend using the “Range Slider” type instead of the drop-down, as it was designed for this exact purpose. It’s more compact and performant, as it does one “between” operation instead of two (more then, less then) when using drop-down values.Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.