blowfish
blowfish copied to clipboard
❓ Search question - It doesn't show indexed results.
Describe the bug
When I use the search feature which is have enableSearch
set to true
, it doesn't show up anything as I type despite, I have non-draft/tagged pages which search doesn't pick up anything.
To Reproduce On a blowfish themed site with search enabled from scratch, use the search function to see if it shows up anything. Using hugo modules and couple of blog posts
Expected behavior Shows results as I type.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11/Android
- Browser: Edge/Firefox
- Version: 124.0.2478.51 (edge)
Hugo & Blowfish versions Hugo version 0.125.1 Latest 2.65.0 blowfish (from hugo module)
Additional context It does show errors in DevTools like
ncaught TypeError: Cannot read properties of undefined (reading 'search')
at executeQuery (main.bundle.min.17ffe617e664d257760ee5f71869a6d9328d3613601c03a2eb7a194bbfb06ddc629a70f7b348e6e9446e81d0789555aebce09d27debd0329fc297601a1ee6a77.js:2:22866)
at input.onkeyup (main.bundle.min.17ffe617e664d257760ee5f71869a6d9328d3613601c03a2eb7a194bbfb06ddc629a70f7b348e6e9446e81d0789555aebce09d27debd0329fc297601a1ee6a77.js:2:21919)
Which triggers upon searching
Suggesting that the javascript module isn't properly loaded? Am I missing something?
@zavocc search is working across multiple websites I manage so this points to a problem in the way you are configuring the website. I would suggest checking the docs for reinstalling, please check if you are introducing any overrides that change the imports, and confirm if you are properly defining the base_url parameter (locally==localhost and remotely==prod url).
I just checked those three and it looks fine, had deployed this on netlify passing the "-b $URL" parameter to deploy it
Search works now upon checking! Just checked on Android chrome or edge browsers, just checking to see if it works on desktop browsers see if it's a quirk.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Nuno Coração @.> Sent: Monday, April 29, 2024 5:30:56 AM To: nunocoracao/blowfish @.> Cc: WMCB Tech (marcusz) @.>; Mention @.> Subject: Re: [nunocoracao/blowfish] ❓ Search question - It doesn't show indexed results. (Issue #1432)
@zavocchttps://github.com/zavocc search is working across multiple websites I manage so this points to a problem in the way you are configuring the website. I would suggest checking the docs for reinstalling, please check if you are introducing any overrides that change the imports, and confirm if you are properly defining the base_url parameter (locally==localhost and remotely==prod url).
— Reply to this email directly, view it on GitHubhttps://github.com/nunocoracao/blowfish/issues/1432#issuecomment-2081662689, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4QQBQMC6EKK4GGY2AATSNLY7VTBBAVCNFSM6AAAAABGRI3SLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGY3DENRYHE. You are receiving this because you were mentioned.Message ID: @.***>
Awesome closing the issue then