Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scottbot opened this issue Aug 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@scottbot
Copy link
Collaborator

scottbot commented Aug 4, 2022

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?

@scottbot scottbot added the bug Something isn't working label Aug 4, 2022
@mdlincoln
Copy link
Collaborator

I've pushed a new management command in commit 8779fb1, 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
Copy link
Collaborator Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants