From e8892f24fc658a4117d133e79c6d719fbb71c2e7 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 a4c5b6203..76721b586 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(