You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First-Round Changes: Applying hotfixes found from Pilot Demo (#201)
* post-review tinkering
* beginning hotfix application based on user feedback from pilot demonstration. Further changes will be made here and sequentially applied to dev and then prod site
* next round of hotfixes. see github issue updates for more info
* adding information about form headers to the upload system and multiline input system
* form explanation system implemented. standardized via central component to simplify application where needed. Standardization applied to grid columns to reduce footprint, and reorganized component structure to increase readability.
* removing species autocorrection. required headers have been added to the system.
* completing refit to standardize units information in plots and remove customizations from each table using units. Updated table structures and procedures to correctly work with this new system.
* baseline review changes column added. additional enhancements pending, but grid is rendering correctly and shows history.{
* adding paginationModel dependency to the validation status column render to force re-render when pagination model is updated (user moves to new page)
JOIN ${schema}.censusquadrat cq ON cq.QuadratID = q.QuadratID
45
45
JOIN ${schema}.census c ON cq.CensusID = c.CensusID
46
-
WHERE q.PlotID = ${plotID} AND c.PlotCensusNumber = ${plotCensusNumber} LIMIT 1`;
46
+
WHERE q.PlotID = ${plotID} AND c.CensusID IN (SELECT CensusID from ${schema}.census WHERE PlotID = ${plotID} AND PlotCensusNumber = ${plotCensusNumber}) LIMIT 1`;
constpvQuery=`SELECT 1 FROM ${schema}.coremeasurements cm
55
55
JOIN ${schema}.census c ON C.CensusID = cm.CensusID
56
56
JOIN ${schema}.plots p ON p.PlotID = c.PlotID
57
-
WHERE p.PlotID = ${plotID} AND c.PlotCensusNumber = ${plotCensusNumber} LIMIT 1`;
57
+
WHERE p.PlotID = ${plotID} AND c.CensusID IN (SELECT CensusID from ${schema}.census WHERE PlotID = ${plotID} AND PlotCensusNumber = ${plotCensusNumber}) LIMIT 1`;
0 commit comments