From: Dessalines Date: Thu, 18 Apr 2019 14:43:59 +0000 (-0700) Subject: Fixing issue with not getting back more than 10 communities X-Git-Url: http://these/git/%7Bthis.props.banner%7D?a=commitdiff_plain;h=6219e29b3c7831cbc46eb782feee93bd2a9d705d;p=lemmy.git Fixing issue with not getting back more than 10 communities Fixes #72 --- diff --git a/server/src/websocket_server/server.rs b/server/src/websocket_server/server.rs index a4c5b620..76721b58 100644 --- a/server/src/websocket_server/server.rs +++ b/server/src/websocket_server/server.rs @@ -876,7 +876,7 @@ impl Perform for ListCommunities { let sort = SortType::from_str(&self.sort).expect("listing sort"); - let communities: Vec = CommunityView::list(&conn, user_id, sort, self.page, self.limit).unwrap(); + let communities: Vec = CommunityView::list(&conn, user_id, sort, self.page, Some(9999)).unwrap(); // Return the jwt serde_json::to_string(