From 6219e29b3c7831cbc46eb782feee93bd2a9d705d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 18 Apr 2019 07:43:59 -0700 Subject: [PATCH] Fixing issue with not getting back more than 10 communities Fixes #72 --- server/src/websocket_server/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.44.1