microbiomedata / nmdc-server

Data portal client and server for NMDC.
https://data.microbiomedata.org
Other
9 stars 0 forks source link

New submission does not sort correctly by template #1392

Closed pkalita-lbl closed 2 months ago

pkalita-lbl commented 2 months ago

I created a new submission on dev with the name "air air air air air air air" and the template -- you guessed it -- "air". When I sort the table on /submission/home by "Template" I expected to see my new submission sorted with the existing airs:

image

Instead I found it several pages later hanging out with some soils:

image

I believe this is a similar bug to https://github.com/microbiomedata/nmdc-server/issues/1377 where a new top-level field was added to submission records that isn't kept in sync with the underlying source of truth. I don't think the symptom here is severe enough to warrant a hotfix like that previous issue.

pkalita-lbl commented 2 months ago

cc: @naglepuff @marySalvi