codeforamerica / jail-dashboard

A tool to help jail administrators, judges, and other stakeholders understand the conditions in metro jails, and use this data to visualize how their decisions–at both the individual and policy level–affect program, facility, and inmate outcomes.
3 stars 4 forks source link

Bug: filter breakouts are not limiting to active bookings #123

Open jennifermarie opened 7 years ago

jennifermarie commented 7 years ago

In the default sample data set, there are 388 active bookings. The breakout filter bars are pulling from a larger set (521 bookings).

When filtered, the table draws from the correct (active) set.

jennifermarie commented 7 years ago

This is linked to #117. The records are all associated to active bookings, but the counts are incorrect because there are separate line items for each charge (so, bookings with multiple charges count multiple times).