Brown-University-Library / disa_dj_project

MIT License
2 stars 3 forks source link

De-dupe and delete record types. #193

Closed elizabethyalkut closed 7 months ago

elizabethyalkut commented 8 months ago

Record types not connected/associated to any data or used for testing purposes:

Affidavit
House of Representatives Vote
Instrument of sale
bug test
Test

Record types duplicates:

Abstract (term appears 2 times)
Memoir (term appears 5 times)
Runaway (tem appears 2 times)

A quick and dirty fix/override would be to remove the values at https://github.com/Brown-University-Library/disa_dj_project/blob/1dee7756548a00cdac123db0a141c1a0b6a5f021/disa_app/static/js/entry_form_settings.js#L244 and comment out the get-values-from-server function at https://github.com/Brown-University-Library/disa_dj_project/blob/65560792bf2a8011e0a71d558458184c9b956bfa/disa_app/static/js/entry_form_data_in.js#L98.

elizabethyalkut commented 8 months ago

attn @prashleigh @faleksic9

elizabethyalkut commented 8 months ago

The values to remove in entry_form_settings.js are: '21':'bug test', '36':'Instrument of sale', '46':'House of Representatives Vote', '49':'Test', '53':'Runaway', '55':'Affidavit', 78':'Abstract',

See the attached spreadsheet for the values which derive from the server (and are currently available on prod) and do not appear in entry_form_settings.js — we should confirm with DMC if these values should be included. SR_record_types_comparison.xlsx