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

Refactor versions search to fix deferred facets and simplify code. #3295

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

EreMaijala
Copy link
Contributor

@EreMaijala EreMaijala commented Jan 4, 2024

Spun from #2929, this refactors versions search so that it works without special processing of the URL parameters. While at it, this also updates the minified search format to include type in the s element so that a WorkKeysQuery can be minified/unminified just like any other.
Also most of the actual logic is now in the backend, and the URL for versions search no longer contains all the keys.

TODO

  • Update changelog when merging (removal of VersionsHelper, signature changes to WorkExpressionsCommand, WorkKeysQuery and Backend/WorkExpressionsInterface's workExpressions method; other changes noted above)

@EreMaijala EreMaijala requested a review from demiankatz January 4, 2024 20:31
@EreMaijala
Copy link
Contributor Author

Mink tests are passing for me.

@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Jan 4, 2024
@demiankatz demiankatz added this to the 10.0 milestone Jan 4, 2024
demiankatz added a commit that referenced this pull request Jan 5, 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.

Looks good to me!

@demiankatz demiankatz merged commit 7fab326 into vufind-org:dev Jan 5, 2024
7 checks passed
@demiankatz demiankatz deleted the dev-refactor-versions-search branch January 5, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture pull requests that involve significant refactoring / architectural changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants