Commit Graph

2 Commits (4773d7b9aa840dadc72d1587d604a9e73b8f8003)

Author SHA1 Message Date
Eugen Rochko 07cc201acc
Fix using wrong policy on status-related actions in admin UI (#19490) 2 years ago
Eugen Rochko 27965ce5ed
Add trending statuses (#17431)
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
3 years ago