cmu-lib / dhweb_app

Application for editing, searching, and browsing historical DH conference abstracts
https://dh-abstracts.library.cmu.edu
MIT License
4 stars 1 forks source link

Author entry autocomplete is improperly noisy after either move to UVA or recent DH2022 ingest #575

Open scottbot opened 2 years ago

scottbot commented 2 years ago

image

Adding authors using autocomplete is getting impossible, as many authors appear to have almost all names as alternative names.

@mdlincoln Do you have time to try to replicate this, before we go asking the folks at UVA for thoughts?

mdlincoln commented 2 years ago

I've pushed a new management command in commit 8779fb1d6d52a8fb26a955b06b8589d5708589f6, refresh_labels which will try to reset the computed appellation autocomplete field that seems to have gone haywire here.

https://github.com/cmu-lib/dhweb_app/blob/master/dh_abstracts/app/abstracts/management/commands/refresh_labels.py

This should be pulled down onto the system and run from the container that's running Django as python manage.py refresh_labels - difficult to replicate this issue on my own machine, so let's see how it does.

scottbot commented 2 years ago

I'm guessing I figured it out. Do you think appellation lookups might have broken if one of the author names had a { and } in it @mdlincoln?