]> Untitled Git - lemmy.git/commit
Adding forum sort for post_aggregates. Fixes #1312 (#1400)
authorDessalines <dessalines@users.noreply.github.com>
Mon, 1 Feb 2021 16:53:44 +0000 (11:53 -0500)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 16:53:44 +0000 (11:53 -0500)
commit6bb4f0b41f25baafad4e40fe5df22647be19577e
tree78cf3e0e7c37d2867b6df26dc7505d1d5469e052
parentf4d33389a5406b864b8e8e80ea45a674c3cc7dd5
Adding forum sort for post_aggregates. Fixes #1312 (#1400)

* Adding forum sort for post_aggregates. Fixes #1312

* Changing sort name from forum to MostComments.
crates/db_queries/src/lib.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_view.rs
crates/db_views_actor/src/user_mention_view.rs
crates/db_views_actor/src/user_view.rs
migrations/2021-01-31-050334_add_forum_sort_index/down.sql [new file with mode: 0644]
migrations/2021-01-31-050334_add_forum_sort_index/up.sql [new file with mode: 0644]