Open MBoustani opened 7 years ago
Showing list of all the cities and their dates would sometimes not fit in sidebar (too many) and also the query is very slow. Solution here is query one month before what user asked for start date and one month after what user asked for end date. The range (1 month for now) can be changed higher number.
This seems like a fine solution, Mazi. You may also want to consider just adding a default accordion to hide all the info except for what you've outlined above. Then all the data would be on the page (loaded - but not displayed) and the user could toggle it out if they wanted it.
Are we using jquery on the page already? If so, this would be really easy: http://jqueryui.com/accordion/#collapsible
When user select and entity on result page show list of all cities and dates the entity was at in gray color and matched one in black color.