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

Fix search result links losing sid when e.g. sort is changed multiple times. #3589

Merged

Conversation

EreMaijala
Copy link
Contributor

saveToHistory wasn't being properly relayed when rendering the search results.

Continued from #3582.

… times.

saveToHistory wasn't being properly relayed when rendering the search results.
@demiankatz demiankatz added this to the 10.0 milestone Apr 16, 2024
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @EreMaijala, looks good to me. I'll hold off on merging until @LuomaJuha can confirm that it fully solves the problem.

Is this something we can/should have a test case for?

@EreMaijala
Copy link
Contributor Author

I'll see if I can add a test quickly...

@EreMaijala
Copy link
Contributor Author

Test added.

@LuomaJuha
Copy link
Contributor

Gonna test this out now!

@demiankatz
Copy link
Member

Thanks, @LuomaJuha -- I'm also running @EreMaijala's new tests on this end. I expect they will pass but will report back if they don't. Otherwise, I'll just wait for your confirmation and merge this as soon as tests pass and you let me know that you're happy. :-)

Copy link
Contributor

@LuomaJuha LuomaJuha left a comment

Choose a reason for hiding this comment

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

Seems to be working!

@demiankatz demiankatz merged commit e58cbc6 into vufind-org:dev Apr 16, 2024
7 checks passed
@demiankatz demiankatz deleted the dev-fix-search-results-missing-sid branch April 16, 2024 12:23
EreMaijala added a commit to NatLibFi/NDL-VuFind2 that referenced this pull request Apr 16, 2024
… times. (vufind-org#3589)

saveToHistory wasn't being properly relayed when rendering the search results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants