Skip to content
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

incorrect/mismatched display of Post Lable and Area on front end #267

Open
OpenHluttawInfrastructure opened this issue Jul 4, 2017 · 2 comments

Comments

@OpenHluttawInfrastructure

on the frontend on the person detail view, e.g http://openhluttaw.info/en_US/person-detail/?personId=0a38ea8c39dc4fd4a5dc5504a60bfa4d , for the field “TOWNSHIP” , �It’s showing “MP for Kayah-9", which i am sure it is the data from the “post_label_en” from our sheets. But what we wish to display is something like “”TOWNSHIP - Kayah-9", so i think this data for “Kayah-9” should come from the “area_name_en” from our sheets.
But then when we pull from the “area” or “area_id” from our http://api.openhluttaw.org/en/memberships, some “area” or “area_id” are showing “null”, or some are showing popitids, like “area_id”: “4603322fe4d742bdbe0f7a6506e02b34”.
And so, Htoon Lin said he can’t make it to display the area_name from the area_id.
Can you help me how we can achieve this?

@sweemeng
Copy link
Member

sweemeng commented Jul 5, 2017

will check syncing area have issues

@OpenHluttawInfrastructure
Copy link
Author

i think this issue is almost resolved. I just realized/saw a simple or obvious workaround we should be using on the frontend. We will test it in few days, and will close this issue if it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants