]> Untitled Git - lemmy.git/commit
Allow filtering posts and comments by whether they were liked/disliked - fixes #3401...
authorPiotr Juszczyk <74842304+pijuszczyk@users.noreply.github.com>
Tue, 8 Aug 2023 09:40:28 +0000 (11:40 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2023 09:40:28 +0000 (11:40 +0200)
commit2ad3450004a32dac311922e3d70f0884a660c41b
tree60c2f94407f42d99ece6320a3f4023fb370cd826
parentf9c2ba1cfab65b3c20d3f9f3804e479a7fc28840
Allow filtering posts and comments by whether they were liked/disliked - fixes #3401 (#3523)

* Allow filtering posts and comments by whether they were liked/disliked

* Switch to 2 args - liked_only, disliked_only - taking bools

* Make liked_only and disliked_only Option<bool>

* Fix unrelated is_profile_view compilation error
crates/api_common/src/comment.rs
crates/api_common/src/post.rs
crates/apub/src/api/list_comments.rs
crates/apub/src/api/list_posts.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_view.rs
crates/utils/src/error.rs