diff --git a/src/controllers/search.js b/src/controllers/search.js index cc0e3db..fbb8755 100644 --- a/src/controllers/search.js +++ b/src/controllers/search.js @@ -24,9 +24,6 @@ searchController.search = async function (req, res, next) { return next(); } - console.log('searchController.search'); - console.log(req.query); - // Map source parameter to category IDs: // Announcements -> 1 // General -> 2 @@ -45,8 +42,6 @@ searchController.search = async function (req, res, next) { searchCategories = ['3']; } - console.log('searchCategories', searchCategories); - const page = Math.max(1, parseInt(req.query.page, 10)) || 1; const searchOnly = parseInt(req.query.searchOnly, 10) === 1;