Back to Search from Agent Page Error
Closed this issue · 0 comments
HaSistrunk commented
Describe the bug
There is an error that prevents page from loading when trying to use the "Back to Search" button from an agent page when the page was not arrived at through a search.
To reproduce
Steps to reproduce the behavior:
- Add an item to your list like
/objects/NVTZyHKyg53WnQEKaY3pVY
- Go to the My List page
- Click on the "Found In" collection link for that object. (Nelson A. Rockefeller gubernatorial records, Speeches, Series 33)
- Click on any of the creator links in the collection details to go to the agent page
- Click the "Back to Search" button
- See that the page does not load, and there is an error in the console
Expected behavior
Good question. I think we'd want that button to take us to a search results page with a search for that agent name.
Error message or screenshots
Impact on your work
We haven't heard about this error from anyone, but we definitely don't want the site to hang up when someone hits a button.