]> cat aescling's git repositories - mastodon.git/commit
Fix trends returning less results per page when filtered in REST API (#17996)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 8 Apr 2022 15:10:53 +0000 (17:10 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 15:10:53 +0000 (17:10 +0200)
commitfd9a9b07c2cd19ef08d15e138fd3fc59fc5318b6
tree2de019901aef5a8839223ea4b04c0fe0dc6a9557
parent6b72641641a25ae664413d0d587080ffe70af6c2
Fix trends returning less results per page when filtered in REST API (#17996)

- Change filtering and pagination to occur in SQL instead of Redis
- Change rank/score displayed on trends in admin UI to be locale-specific
app/models/trends/base.rb
app/models/trends/query.rb
app/models/trends/statuses.rb
app/views/admin/trends/links/_preview_card.html.haml
app/views/admin/trends/statuses/_status.html.haml