-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Config option to disable search #5501
Comments
Hi @bradystroud, this would make a very good first contribution. The code that renders the search box is here: Regarding the search itself - the CMS does cache those entries after the initial search. However if it needs to search 2500 it makes sense it will reach the limit when nothing is cached. |
Hi @erezrokah, |
Hi @bradystroud, that's a very good point. Using the search API might give good results too pending:
|
More context, then pass it to the Finally conditionally render the |
Hey @erezrokah, Please review #5509 Thanks :) |
Done - The config option to disable search is now available. I am leaving this issue open as further investigation is needed to see if it's possible to have search that doesn't make requests for every entry. Thanks, -Brady |
Do you mind opening a new issue for that? I'd rather keep things separate so it's easier to track and follow |
See #5549 |
Is your feature request related to a problem? Please describe.
The search functionality does not work for our content. It hits the GitHub API limit after 2 searches. see https://answers.netlify.com/t/cms-search-hitting-github-api-limit/39124
Describe the solution you'd like
This should be pretty easy to implement
This could be a bit more difficult
The text was updated successfully, but these errors were encountered: