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

Add configuration for disabling search history #216

Closed
nicokaiser opened this issue Feb 20, 2024 · 2 comments · Fixed by #217
Closed

Add configuration for disabling search history #216

nicokaiser opened this issue Feb 20, 2024 · 2 comments · Fixed by #217

Comments

@nicokaiser
Copy link
Contributor

After updating to v0.11 there is a new search history feature. While this is really nice, it might be required to completely disable this feature in some cases. In some environments it might not be desirable to save data in localStorage etc.

Setting the histories_count parameter to 0 does not help, since then the default (5) is applied. Setting the parameter to "0" (with quotes!) basically disables the history, but this is more like a hack to the problem.

@razonyang
Copy link
Member

Make sense, available since v0.12.0.

params:
  search:
    histories: false

@nicokaiser
Copy link
Contributor Author

Awesome, thank you!

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