Sort output by group
authorMark Felder <feld@FreeBSD.org>
Fri, 27 Nov 2020 18:32:53 +0000 (12:32 -0600)
committerMark Felder <feld@FreeBSD.org>
Wed, 2 Dec 2020 16:43:22 +0000 (10:43 -0600)
Not the best sorting, but better than nothing.

lib/mix/tasks/pleroma/config.ex

index 3c94f1f5f0d1e0f11182b0e65b31d3edaae3f414..76753e13cbe260e0be2992923a31fd9ad50b0ea8 100644 (file)
@@ -40,6 +40,7 @@ defmodule Mix.Tasks.Pleroma.Config do
 
       ConfigDB
       |> Repo.all()
+      |> Enum.sort()
       |> Enum.each(&dump(&1))
     else
       _ -> configdb_not_enabled()