projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3892416
)
Do not reverse order of reports. We want newest ones sorted to the top.
author
Mark Felder
<feld@feld.me>
Wed, 30 Dec 2020 20:22:48 +0000
(14:22 -0600)
committer
Mark Felder
<feld@feld.me>
Wed, 30 Dec 2020 20:22:48 +0000
(14:22 -0600)
lib/pleroma/web/admin_api/views/report_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/admin_api/views/report_view.ex
b/lib/pleroma/web/admin_api/views/report_view.ex
index 5355563704d11a62816b7ec62442e088fa94b2a0..da949e3062cdf41147c2f5e708d2cf9634856cf7 100644
(file)
--- a/
lib/pleroma/web/admin_api/views/report_view.ex
+++ b/
lib/pleroma/web/admin_api/views/report_view.ex
@@
-19,8
+19,7
@@
defmodule Pleroma.Web.AdminAPI.ReportView do
reports:
reports[:items]
|> Enum.map(&Report.extract_report_info/1)
- |> Enum.map(&render(__MODULE__, "show.json", &1))
- |> Enum.reverse(),
+ |> Enum.map(&render(__MODULE__, "show.json", &1)),
total: reports[:total]
}
end