-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default country is added to location in /admin/reports even on multicountry deployments #880
Comments
Looks like the issue here is that the geolocator is not working. The only point at which the default country name is appended is if there is no country id that was saved along with the location during report Submission. Angela Handheld sent ----- Reply message ----- Steps to reproduce the issues
Map default country was kenya, because it is a global map. Expected result Actual location would appear Actual observed result actual location plus "KENYA" appears Details of your environment Version of Ushahidi you were testing on Crowdmap Browser you were testing in Firefox Operating system you were testing on OSXXX Deployment you were testing (including URL if publicly available) Iccm12.crowdmap.com Screen shots if appropriate I had to do this for 8 reports in this. See the edit logs. Update: I want this map to span multiple countries. Given that most of the locations are based in DC. I've changed the map center to DC and the country default to USA. However, if I have a global map, I should not have the default country fill in if the city and state were added. It should smart search the matching location — Reply to this email directly or view it on GitHub. |
Small typo, meant to refer to country_id and reverse geolocator ----- Reply message ----- Steps to reproduce the issues
Map default country was kenya, because it is a global map. Expected result Actual location would appear Actual observed result actual location plus "KENYA" appears Details of your environment Version of Ushahidi you were testing on Crowdmap Browser you were testing in Firefox Operating system you were testing on OSXXX Deployment you were testing (including URL if publicly available) Iccm12.crowdmap.com Screen shots if appropriate I had to do this for 8 reports in this. See the edit logs. Update: I want this map to span multiple countries. Given that most of the locations are based in DC. I've changed the map center to DC and the country default to USA. However, if I have a global map, I should not have the default country fill in if the city and state were added. It should smart search the matching location — Reply to this email directly or view it on GitHub. |
Country was being appended even on multi country deployments. This isn't appended in the frontend so I've removed it from the backend entirely for consistency and simplicity.
Matching https://github.com/ushahidi/Crowdmap/issues/144
Steps to reproduce the issues
Map default country was kenya, because it is a global map.
Expected result
Actual location would appear
Actual observed result
actual location plus "KENYA" appears
Details of your environment
Version of Ushahidi you were testing on
Crowdmap
Browser you were testing in
Firefox
Operating system you were testing on
OSXXX
Deployment you were testing (including URL if publicly available)
Iccm12.crowdmap.com
Screen shots if appropriate
http://cl.ly/image/0A0k273B1y1B 2.http://cl.ly/image/3j090i210Q1n
http://cl.ly/image/2h0M0L2E1543 ( added the location to find location. clicked find. It did.
http://cl.ly/image/3R2U2z3Q291N fixed
I had to do this for 8 reports in this. See the edit logs.
Update: I want this map to span multiple countries. Given that most of the locations are based in DC. I've changed the map center to DC and the country default to USA.
However, if I have a global map, I should not have the default country fill in if the city and state were added. It should smart search the matching location
The text was updated successfully, but these errors were encountered: