I’m having a little issues with search and displaying search results. I have 2 dropdowns where users can select year range (year from - year to) but in the listings collection there is only 1 year input and not a range. How can I make this work?
I can’t explain it, but it’s a wrong setting error by your side… Double check the settings on the left when you select the drop down and make sure the selections you made are correct
Maybe I described problem wrong.
- There is a collection of a used cars listings that user is adding into database (make, model, year etc. )
- The search section on the landing page contains (make, model, year from, year to etc.
- When you click search you’re redirected to listings which are pulled from used cars collection.
- Filtering like make and model works fine because these are the same fields as when you adding new listing, however when comes to year there is only 1 value added like 2015 but search query has 2 values ( year from and year to)