Skip to content

Conversation

@marlo-longley
Copy link
Contributor

Fixes #5825

@marlo-longley marlo-longley force-pushed the results-library-page branch from 297813f to 641f124 Compare July 25, 2025 19:36
@marlo-longley marlo-longley marked this pull request as ready for review July 25, 2025 19:43
@cbeer
Copy link
Member

cbeer commented Jul 25, 2025

Is there no hope doing this upstream/when we're initially constructing the text?

@marlo-longley
Copy link
Contributor Author

https://github.com/projectblacklight/blacklight/blob/d241cbbd27d0b223b48285e9bb229886bffb6a5a/app/helpers/blacklight/catalog_helper_behavior.rb#L131 This is my read on where the text is being constructed.

Since BL doesn't know about our Stanford library codes I am not sure.

@dnoneill
Copy link
Contributor

I looked into this a little bit and to fix it we would need to override the facetfieldpresenter. Honestly I think this really an issue in upstream blacklight. We have a helper method on the facet which is how the library is showing up with the right information right now. The title shouldn't ignore the helper on the facet. I am going to look around upstream and see if we can get it fixed there.

@dnoneill
Copy link
Contributor

So blacklight doesn't ignore helper methods. I think it might be a bug in one of our overrides that is causing the problem. I can't quick figure out the problem though. Might be something for the next wc

@marlo-longley
Copy link
Contributor Author

Thanks for looking into this Niqui -- happy to discuss more

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.

Translate library codes in the page title

4 participants