@gled I am getting an error 500 with the FPS. Looking in the logs I get:

NoMethodError (undefined method `keep_if' for #<ActiveRecord::Relation []>):
app/controllers/api/v1/search_controller.rb:22:in `block in search'

It seems search[:statuses].keep_if
is the offending line.

Any ideas what went wrong?


@gled I found it! There is a v2 api that needs the same change as the v1 search api


@search = Search.new(search_results)

@smallsees you mean the FTS patch ?

The out of tree version hasn't been maintained for a couple versions iirc ;)

@gled The non ES FTS patch, yes.

I had to do some minor patch fixes but this fix was simple enough too

Sign in to participate in the conversation
Mastodon on Dropbear

Welcome to my small corner of the Mastodon fediverse.