logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 5c383ada8ad7491125a8264a8a03d85fe822f61e
parent d26aadb743c0de6fee7653ac2b90f989862d3c02
Author: marcin mikołajczak <git@mkljczk.pl>
Date:   Sat,  5 Mar 2022 21:45:34 +0100

Correctly order rules by id/creation date

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>

Diffstat:

Mlib/pleroma/rule.ex1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/pleroma/rule.ex b/lib/pleroma/rule.ex @@ -27,6 +27,7 @@ defmodule Pleroma.Rule do def query do Rule |> order_by(asc: :priority) + |> order_by(asc: :id) end def get(ids) when is_list(ids) do