Testing: Update support

Aperta
#77 8 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@allanaaa ci sta già lavorando.

Dal 6/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Branch is "update"

This branch adds support for imports that update existing items instead of creating new ones.

It adds two new form elements to the mapping screen:

  • ID column: a select box for picking which CSV column holds the IDs of the records to update. Picking a column here makes the import an update.
  • Replace All Element Texts: a checkbox. If checked, the values from the CSV will become the only values for the updated items; all other element texts for each updated item will get deleted.

I'm thinking we'll probably want a little more to that UI, possibly a switch between import and update mode to make it more obvious, but these two are the necessary inputs for the functionality.

Lingua principale
PHP
Stelle
20
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di omeka/plugin-CsvImport

Tutte le issue di omeka/plugin-CsvImport

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.