Fix the search function in forums
I've noticed the search function does not work correctly. Anything I search for I get an Internal error.
Here's a screenshot:
Hm this is strange, must be something with NodeBB.
In console I can see
error: "invalid operator: $search". After some searching I see it uses https://github.com/barisusakli/nodebb-plugin-dbsearch#readme
I also see in console the following error (I guess it's not related with this one, but here it is):
WebSocket connection to 'ws://forum.asgardcms.com/socket.io/?EIO=3&transport=websocket&sid=DPP0sAWCKCJUDjXwAJTR' failed: Error during WebSocket handshake: Unexpected response code: 400
Also, I'm able to see in console the JSON response of the error you see:
error: "invalid operator: $search" path: "/api/search/localization"
yea, very strange, more details here: https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/23