aodn / nrmn-application

A web application for collation, validation, and storage of all data obtained during surveys conducted by the NRMN
GNU General Public License v3.0
4 stars 3 forks source link

Multiple Survey Corrections Feature #1140

Closed nspool closed 1 year ago

nspool commented 1 year ago

Implements the ability to correct multiple surveys at once.

Also rewrites the correction rows query which was not summing the observations when performing the row aggregate. So for identical rows with observations in the same size class only the first count was being returned instead of summing all the counts.

After merging this PR requires the script db/schema-update/17-alter-seq-increment.sql to be run on the DB otherwise ingest and corrections will fail with pkey error.