cityofaustin / atd-moped

A comprehensive mobility project tracking platform for Austin, Texas.
https://mobility.austin.gov/moped/
4 stars 3 forks source link

Show inactive rows for Dept-unit in Funding table #1380

Closed mddilley closed 2 months ago

mddilley commented 2 months ago

Associated issues

https://github.com/cityofaustin/atd-data-tech/issues/18340

This PR removes the inactive status filter on the Socrata query that we use to populate the Dept-unit dropdown options in the Funding sources table. This will allow Moped users to track spent money (closed or "inactive" Dept-unit numbers).

Testing

URL to test:

https://deploy-preview-1380--atd-moped-main.netlify.app/

Steps to test:

  1. Visit this filtered financial codes dataset, and you should see two rows. Notice that one row has the value Active for DEPT_UNIT_STATUS while the other row has Inactive.
  2. Now, go to a project's funding table and add a new or edit an existing funding source row.
  3. In the Dept-unit dropdown, enter L117 and you should see two options show (both inactive and active status).
  4. Go to staging Moped and try the same. You should only see the record with active status that has E 12th in its name.

Ship list

mddilley commented 2 months ago

thanks y'all! merging this. 🙏