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

Duplicate rows in summary tables #56

Open
timlinux opened this issue Feb 4, 2020 · 2 comments
Open

Duplicate rows in summary tables #56

timlinux opened this issue Feb 4, 2020 · 2 comments
Assignees

Comments

@timlinux
Copy link
Contributor

timlinux commented Feb 4, 2020

@gubuntu and @NyakudyaA can you please fix the summary tables for the roads are causing duplicate rows e.g.

image

@timlinux
Copy link
Contributor Author

timlinux commented Feb 4, 2020

e.g hazard event 212 on staging site / db

@lucernae
Copy link
Contributor

lucernae commented Mar 4, 2020

I have fixed the faulty logic in #77 .
However in production the duplicate rows keeps appearing because of wrong assignments in the table record itself.

Take a look at the example below:

Screen Shot 2020-03-05 at 00 06 54

The assignment is inconsistent. All these roads have the same village_id, but some roads in a sub_district and another in different sub_district. It doesn't make sense for a village to be in two sub_district all at once.

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

3 participants