Labdooer Search Map and list not matching

×

狀態訊息

  • If you have any questions about this page or if you find any errors, please write a message to the support wall and a Labdoo volunteer will help resolve it. Thank you for helping to improve our wiki pages.
  • You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.
類型: 
Website bug
狀態: 
Open
優先: 
Low
描述: 

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.

回應

jordi's 的頭像
jordi 在 週六, 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!