Labdooer Search Map and list not matching

×

Missatge d'estat

You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.
Tipus: 
Website bug
Estat: 
Open
Prioritat: 
Low
Descripció: 

Hi Jordi,

I just had a look at this task:
https://www.labdoo.org/content/advanced-search-profile

and while testing the funcionality I had a problem with the labdooers search results.

Problem 1:
I was searching for users in Berlin and Germany. 23 are in the list, but also 19 are showing on the map.
https://www.labdoo.org/labdooers?distance_1%5Blatitude%5D=&distance_1%5B...

Problem 2:
I had the same problem when searching for labooers in entire Germany and then sort the results by City:
https://www.labdoo.org/labdooers?distance_1[latitude]=&distance_1[longit...

The markers for users in Berlin are even less than 19 (also before sorting). Is that related to pagination and only showing certain amount of users on the map? So maybe the map just does not gets updated after sorting?

Since only users with vertain rights are able to see the list I guess the Priority of the task is low.

Comentaris

imatge de jordi
Enviat per jordi el ds., 01/07/2017 - 09:30

Good catch Lisa. I looked at this and found that the error comes from our labdoo_lookup_coordinates() function, which relies on Google's Service API.

https://github.com/Labdoo/Labdoo/blob/90e5d9c953ed0bdc74e402c92185937e45...

It looks like our volume of queries is increasing and from time to time we get an OVER_QUERY_LIMIT error. When we get that error, we are not able to resolve the location and the map can't display that user.

I am going to reach out to some friends in Google to see if there is something we can do there. Thanks for catching this!