File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ twitter_username: quarkusio
2323github_username : quarkusio
2424github_fork_url : " https://github.com/quarkusio/quarkus"
2525search :
26- # The minimum number of characters before we rely on remote search
27- # Below this, we rely on Javascript search
26+ # The minimum number of characters before we run a full search.
27+ # Below this:
28+ # - if another filter is selected (e.g. categories), we run Javascript search
29+ # - otherwise, we don't run search and just display all guides
2830 min-chars : 2
2931 # The URL of the remote search service
3032 url : " https://search.quarkus.io/"
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const app = createApp({
7777 }
7878 } ,
7979 hasInput ( ) {
80- return this . search . input . q || this . search . input . categories
80+ return this . search . input . q && this . search . input . q . length >= this . minChars || this . search . input . categories
8181 } ,
8282 hasInputWithTooFewChars ( ) {
8383 return this . search . input . q && this . search . input . q . length < this . minChars
You can’t perform that action at this time.
0 commit comments