logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: f039c9c19a95e414a641c5209e11b946d939dcfc
parent 5d1f8dcd1c3137976e382bf99058e202ed62477e
Author: Roger Braun <roger@rogerbraun.net>
Date:   Sat, 16 Sep 2017 14:40:53 +0200

Don't specify order in results for now.

Diffstat:

Mlib/pleroma/web/twitter_api/twitter_api.ex3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -212,8 +212,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do where: fragment("?->>'type' = 'Create'", a.data), where: fragment("to_tsvector('english', ?->'object'->>'content') @@ plainto_tsquery('english', ?)", a.data, ^query), limit: ^limit, - offset: ^offset, - order_by: [desc: :id] + offset: ^offset activities = Repo.all(q) activities_to_statuses(activities, %{for: user})