From 9e9d7e325b5254f8766de8c2f34e7ead56f8a3e5 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Sun, 28 Nov 2021 21:21:55 -0800 Subject: [PATCH] Increase to 20 courses on the page --- dbTools/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbTools/profile.js b/dbTools/profile.js index 4e25975..c293c60 100644 --- a/dbTools/profile.js +++ b/dbTools/profile.js @@ -311,7 +311,7 @@ userDB = (DB) => { //Courses DB.getCourses = async () => { let r = await DB.profileCols.find({isGroup: true, isCourse: true}) - .sort({ lastUpdate: -1 }).limit(10) + .sort({ lastUpdate: -1 }).limit(20) .toArray().catch((err) => { console.log(err); return false;