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

Open search with preselected searchOptions #3642

Open
JanUlrichR opened this issue Feb 15, 2024 · 0 comments
Open

Open search with preselected searchOptions #3642

JanUlrichR opened this issue Feb 15, 2024 · 0 comments

Comments

@JanUlrichR
Copy link

JanUlrichR commented Feb 15, 2024

Hey,
we are currently trying to create an extension for the ACA.

We currently miss the option to open the open the search directly with some of the searchOptions being enabled.

More detail:
We dispatch an SearchByTermAction with the query and the options we want to search for (e.g. only show folders). However, in the effect that handles the SearchByTermAction these options are just used to distinguish between library search and "normal" search.
The solution would be passing the options (atleast for "normal" search) via the URL (like the query) to the SearchResultsComponent.

Is there another way to directly show search results with a given config (query + options) I am not aware of ?

Best
Jan

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

No branches or pull requests

1 participant