bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
493 stars 235 forks source link

Page numbers still display when there are no results. #211

Closed heldr88 closed 6 years ago

heldr88 commented 6 years ago

With pagination enabled and using an dynamic data source (web api) for the locations, if you search for a location and it returns multiple pages, it correctly shows the page numbers. Then if you search again for a location that the dynamic data source does not return any results for, the page numbers are still displayed along with the "No Locations" message on the page. The previous page numbers should be cleared if no results are shown on the page.