NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

De-concatenate agents in specimen table in db #290

Closed FedorSteeman closed 1 year ago

FedorSteeman commented 1 year ago

Issue

Agent name must be split into first-name, middle-name/initial, last-name in db.sqlite3 'specimen' table.

jlegind commented 1 year ago

Agent name must be split into first-name, middle-name/initial, last-name in db.sqlite3 'specimen' table.

jlegind commented 1 year ago

Splitting name on the '.' period character. pip.brewer becomes firstname:pip, lastname:brewer

FedorSteeman commented 1 year ago

You cannot derive the agent name from the username ...

FedorSteeman commented 1 year ago

What needs to happen is that that the agent name elements are not concatenated when fetched from the Specify7 API during login, but kept separately.