• Resolved xeyefex

    (@xeyefex)


    Hi Tijmen,
    First of all thank you for the fantastic Plugin !

    I’m encountering a “bug” with the Auto-location. When first loading through auto you get a different set of calculations than whats defined as the default distance to show.

    For instance, I have defined [25]km as the default radius with a maximum 50 results.
    And on Auto-location I get around 50 results up to 43km from the location. Once clicked on search it shows the correct results within the 25km radius.

    Perhaps the autolocation just ignores the radius calculation altogether or is it a real bug?
    I’m certain you can recreate this but if necessary I can show you screenshots.

    Thanks in advance !
    Best,
    Xeye.

    https://www.ads-software.com/plugins/wp-store-locator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter xeyefex

    (@xeyefex)

    Hi Tijmen,
    Any thoughts about this? A point in the right direction would also be much appreciated.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I found the problem, the autoload param is always included in the ajax request when enabled, but it should leave it out when the auto location option is also enabled.

    When the autoload param is found, the search radius is ignored.

    I will release a fix for this soon.

    Thanks or pointing it out.

    Thread Starter xeyefex

    (@xeyefex)

    My pleasure. Thanks for the quick solution.
    Looking forward for the new release !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auto-location loads different amount of stores than search’ is closed to new replies.