summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/rule.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/rule.ex b/lib/pleroma/rule.ex
index 486cff8cc..b1db1dc0c 100644
--- 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