Closed ptomasula closed 1 year ago
Implementation was completed with commit 97fcad4.
Our approach was to add an additional data field to the SiteRegistration model which keeps count of the number of StreamWatch assessments completed for the site. We separately implemented syncing logic in the form of SQL functions in the database to auto increment/decrement the number when StreamWatch action records are inserted/deleted.
The changes are live on the staging server. https://staging.monitormywatershed.org
@ptomasula, Looks good and works well!
One quick request: Can we change the title of the filter from "Data Types" to "Programs".
@aufdenkampe Requested as Task2 of the StreamWatch enhancements amendment.
Creation of a StreamWatch Schools “Data Type” category checkbox on the “Browse Sites” page of MonMW, similar to those that exist for the EnviroDIY and Leaf Pack Network program