Closed bellisk closed 2 weeks ago
@bellisk Oh wow, this is a dependency I installed too long ago that I'm not sure we documented.
You can fix this by installing the trigram function: https://dba.stackexchange.com/a/246124
I was able to reproduce this error on the front page and when searching from the top search bar, because in both cases the trigram function is being called.
We'll update documentation for this.
I installed the trigram function and now it works, awesome!
Documentation updated, closing this.
Describe the bug Typing into the search box on the front page produces an error (in debug mode, this looks quite gnarly - see screenshot below). Hitting enter to run the search leads to an error page.
To Reproduce
OURCHIVE_DEBUG=True
in.env
Expected behavior Typing in the search box should show a dynamically loaded list of search suggestions. Hitting enter should take you to a page with a list of results for your search term.
Screenshots Error displayed while typing into the search box:![Screenshot 2024-04-19 at 23-40-46 Ourchive](https://github.com/c-e-p/ourchive/assets/903490/03d6eae8-3b55-4e16-879d-56a86f7b3a08)
Desktop (please complete the following information):
Hosting Digital Ocean droplet running Ubuntu 22.04.
Additional context Logs from typing into the search box:
Logs from hitting enter to carry out the search: