The dropdown filter uses the existing list of Phrases and returns the subset of listings that contain that phase.
The search box filter does the same, (returns the subset of listings that contain the entered phrase) for any text phrase entered, with the exception of non-letter or non-number characters.
Both functions return the results in a new view: views/listings/filtered.html.erb
The dropdown filter uses the existing list of Phrases and returns the subset of listings that contain that phase.
The search box filter does the same, (returns the subset of listings that contain the entered phrase) for any text phrase entered, with the exception of non-letter or non-number characters.
Both functions return the results in a new view: views/listings/filtered.html.erb