From 64e0847815a5907f30ac0afedb7ae1fa26737183 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 10 Mar 2018 17:32:28 +0100 Subject: [PATCH] Fixed score differences in ranking and editor panel --- pages/users/users.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/users/users.go b/pages/users/users.go index 6127684f..fa8c5239 100644 --- a/pages/users/users.go +++ b/pages/users/users.go @@ -73,6 +73,10 @@ func Editors(ctx *aero.Context) string { score[entry.UserID] = current + entryScore } + for ignore := range arn.StreamIgnoreAnimeDifferences() { + score[ignore.CreatedBy] += arn.IgnoreAnimeDifferenceEditorScore + } + sort.Slice(users, func(i, j int) bool { scoreA := score[users[i].ID] scoreB := score[users[j].ID]