mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
vote: Fix VoteDetailsByThing aggregating backwards.
Voter and votee were swapped. Déjà vu!
This commit is contained in:
committed by
Max Goodman
parent
e86f786aeb
commit
2171b300a8
@@ -233,7 +233,7 @@ class VoteDetailsByThing(tdb_cassandra.View):
|
||||
organic=getattr(pgvote, "organic", False),
|
||||
)
|
||||
|
||||
cls._set_values(voter._id36, {votee._id36: json.dumps(details)})
|
||||
cls._set_values(votee._id36, {voter._id36: json.dumps(details)})
|
||||
|
||||
|
||||
@tdb_cassandra.view_of(LinkVotesByAccount)
|
||||
|
||||
Reference in New Issue
Block a user