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

Add a new language field language_name_display #74

Closed
sandbergja opened this issue Mar 30, 2023 · 0 comments · Fixed by #75
Closed

Add a new language field language_name_display #74

sandbergja opened this issue Mar 30, 2023 · 0 comments · Fixed by #75
Assignees

Comments

@sandbergja
Copy link
Member

User story

As a developer, after I run bundle exec rake orangetheses:cache_theses, I will receive a JSON file that includes both a language_facet and language_name_display key for each document, both with the same value.

Background

Previously, Orangelight used the same solr field, language_facet, for both its show page and its facets. pulibrary/bibdata#2069, however, requires different indexing logic for the show page vs the facets. pulibrary/bibdata#2092 introduced a new field specifically for the show page, called language_name_display.

So, the language_name_display generated by orangetheses will display on the orangelight show page, and the language_facet will continue to display in the orangelight facets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant