Voting starts in March for the Drupal Association Board election.
I'm building a view of homes/properties with exposed filters of "Minimum Rent" and "Maximum Rent" - so that people can find homes according to their budget.
Rent (per month) is basically an integer field and can be whichever number (£475 or £677 or whatever an end-user enters when creating the node). Right now in my automatically-refreshing exposed filters block I have "Min Rent" and "Max Rent" as textfields (Views won't allow anything else). The trouble is that if you are not typing "400" fast enough the view often refreshes with "4" or "40" = BAD user experience.
But in my exposed filters for "Min Rent" and "Max Rent" I want it to be a dropdown list of 100, 200, 300, 400, 500 etc -in other words, automatically fixed, so that it is quicker and user-friendlier to determine the min and max range. Exactly as we see on websites like www.rightmove.co.uk or www.zoopla.com or any other property listing website.).
It seems like it could be pretty easily achieved. I have come across a tutorial that does something similar here http://zugec.com/drupal/creating-custom-filters-in-views-2 and in this thread http://groups.drupal.org/node/25941 people are sugesting that it is possible to use hook_form_alter to achieve this.
I don't think I can achieve this with any other module and Better Exposed Filters seems to be the closest. If it works, it can have many-many other useful applications for filters that establish range like "minimum bedrooms" and "maximum bedrooms". "Min Price" and "Max Price" etc
The more I searched for a solution, the more I noticed that many people need this in one variant or another. So I thought why not turn to Better Exposed Filters module and ask them to make it available for Drupal community.
in Better Exposed Filters views-settings please give us a textarea where we can enter the values on separate lines (100, 200, 300, 400, 450, 500, 550 OR even texts like "Dogs", "Cats", "Foxes" or whatever) and the module will turn those textfield filters into a dropdown list filter with those values showing.
PASSED: [[SimpleTest]]: [MySQL] 0 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch dropdown_selection_filter_for_numeric_fields-1556670-10.patch. Unable to apply patch. See the log in the details link for more information. View