Skip to content

Comments

Change the default label for spotlight_upload_date_tesim#2354

Draft
jcoyne wants to merge 2 commits intomainfrom
jcoyne-patch-2
Draft

Change the default label for spotlight_upload_date_tesim#2354
jcoyne wants to merge 2 commits intomainfrom
jcoyne-patch-2

Conversation

@jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Sep 25, 2023

The default label for spotlight_upload_date_tesim was "Date", on the metadata configuration page (e.g. https://exhibits.stanford.edu/a11y-for-soda/metadata_configuration/edit), this has the same label as date_ssim, so an editor is unable to distinguish between the two.

This overrides the Spotlight default so that we don't have two identical labels: https://github.com/projectblacklight/spotlight/blob/9c0ae85b1417c186a0dc49512ead23e9785331bf/config/locales/spotlight.en.yml#L812

The default label for spotlight_upload_date_tesim was "Date", on the metadata configuration page (e.g. https://exhibits.stanford.edu/a11y-for-soda/metadata_configuration/edit), this has the same label as `date_ssim`, so an editor is unable to distinguish between the two. 

This overrides the Spotlight default so that we don't have two identical labels: https://github.com/projectblacklight/spotlight/blob/9c0ae85b1417c186a0dc49512ead23e9785331bf/config/locales/spotlight.en.yml#L812
@jcoyne jcoyne marked this pull request as ready for review September 25, 2023 17:34
@jcoyne jcoyne marked this pull request as draft September 25, 2023 17:38
@jcoyne
Copy link
Contributor Author

jcoyne commented Sep 25, 2023

This works for new exhibits and exhibits that haven't changed the metadata, but unsure whether this would change exhibits that have customized the field label, or if we can even determine if they have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Valid backlog - in buckets

Development

Successfully merging this pull request may close these issues.

1 participant