rism-ch / rism-maintenance

A repository for tracking data maintenance tasks
0 stars 0 forks source link

Move article at the end of the title #12

Closed xhero closed 4 years ago

xhero commented 6 years ago

From @lpugin on January 12, 2018 8:37

Field: 240$a - 730$a Article has to move from the back (after the comma) to the front( Der, Die, Das, Ein, Eine, La, Le, L‘, Les, Il, Lo, Gli, El, Las, Los, The, A ...)

Additional remark: we should preserve the information in the indicator, namely the number of character to ignore for sorting. See http://www.loc.gov/marc/bibliographic/bd130.html).

Copied from original issue: rism-ch/muscat#547

xhero commented 6 years ago

Shouldn't we do this in the StandardTitle and then re-save the sources?

xhero commented 6 years ago

From @lpugin on February 21, 2018 13:44

Yes, this is the right way to do it. The only question is then with the indication. Ideally is should be in the authority too. This is actually similar to the $d for people, even though we do not have this implemented with and indicator. Any thoughts?

xhero commented 6 years ago

I think there is no support for this currently, the indicator is always fixed. We would need to change the backend.

xhero commented 6 years ago

Here are the titles. The first two columns are for me, then there is the original and the modified version. On column E just place a "1" and the script will lowercase the second word of the modified version, eg:

Le Due contesse => Le due contesse

On column F if the entry needs to be rewritten, for example an error in the conversion:

eleison Kyrie => Kyrie, eleison (should not happen!)

Column F has the precedence over E, so if set the 1 will be ignored

titles.xlsx

xhero commented 6 years ago

For the backend: we need to add a partial when std_titles are created so the indicator 1 can be entered, and shown when selected from the autocomplete. resolve_externals should be verified to take care of the indicators, and verify that the editor passes them correctly.

xhero commented 6 years ago

From @baccia on April 23, 2018 6:36

Here are the corrected titles. 547_titles.xlsx