Last post Sep 16, 2010 10:33 AM by Darrenst
Jul 28, 2010 01:56 PM|Darrenst|LINK
I have been using this code for a while now and all is well except that my wife noticed some strange behavoir. Its this:
When the Store locator page is loaded it gets a centered map lon/lat from a profile value.
It runs the search getLocations() and the map and grid are populated with locations nearby (as expected)
This problem is this.
If I insert a new location to search from (say London), The numbering for the located items is not reset to 0 and seems to count from the total returned.
If I click the Search button again it does reset the count.
Donn Felker Store Locator
Sep 16, 2010 08:46 AM|Darrenst|LINK
I guess no one has this problem...
Sep 16, 2010 10:33 AM|Darrenst|LINK
Figured it out myself. the Routine was running twice and the _itemcount incrementing incorrectly.