def base_query
      ActionLog
        .where(visibility: %w(public-only all))
        .where(organization: options.fetch(:organization))
    end
def base_query
      ActionLog
        .where(visibility: %w(public-only all))
        .where(organization: options.fetch(:organization))
    end
Needed by Searchlight, this is the base query that will be used to
 append other criteria to the search.