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

Odd behavior for breadcrumbs on exhibit item pages #2585

Open
caaster opened this issue Sep 27, 2024 · 1 comment
Open

Odd behavior for breadcrumbs on exhibit item pages #2585

caaster opened this issue Sep 27, 2024 · 1 comment

Comments

@caaster
Copy link

caaster commented Sep 27, 2024

Reported by @andrewjbtw.

The breadcrumbs on item pages behave oddly. I'm seeing them insert the last "browse category" I've viewed whether or not the item I'm viewing is actually in that browse category.

To reproduce:

  1. Enter the URL for this page: https://exhibits.stanford.edu/maps-of-africa/catalog/fw646fg6941
  2. See that the breadcrumb is only "Home / Map of the routes to the gold field"
  3. Click on Browse and then choose "Caroline Batchelor Collection"
  4. See that there's only one item in the collection and it's not "Map of the routes to the gold field"
  5. Load this URL again: https://exhibits.stanford.edu/maps-of-africa/catalog/fw646fg6941
  6. See that the breadcrumbs now include "Caroline Batchelor Collection"

I see this behavior in both Firefox and Chrome. It looks like the breadcrumbs will include whatever the last "Browse category" I've looked at each time I load an item's exhibit page.

@dnoneill
Copy link
Contributor

dnoneill commented Oct 4, 2024

Waiting until Blacklight 8 is installed. Think we can piggy back on projectblacklight/blacklight#2970 to solve this bug.

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.

2 participants