main ← fix-reactions-count-with-deprecated-bookmarks
Zusammengeführt am 10:19AM - 25 Nov 25 UTC
When computing the number of reactions on a post, we were missing a filter to en…sure we were correctly counting likes.
Also improved the performance of the computation of the reactions count by doing all the work in SQL instead of retrieving all the data, parsing it in Ruby and filtering it server-side.
Also slightly refactored the specs to use "contain_exactly" instead of "eq" because the order doesn't matter.
Internal ref - t/168844