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

Separate display date into 'Creation date' and 'Publication date' #6062

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

masaball
Copy link
Contributor

@masaball masaball commented Oct 2, 2024

Related issue: #6050

@@ -66,3 +66,7 @@ img.no-icon {
.page-item span.page-link {
color: $dark !important;
}

.blacklight-date_issued_ssi.col-sm-3 {
white-space: nowrap;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Publication date" was too long to display on a single line on the search page with the default css, so override to keep it inline.

Comment on lines +116 to +117
config.add_index_field 'date_issued_ssi', label: 'Publication date'
config.add_index_field 'date_created_ssi', label: 'Creation date'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I forgot about the combined dates on search results. This probably also comes up in collection landing page search results.

@joncameron Which dates do you think should be displayed on search results?

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 this pull request may close these issues.

2 participants