From ad786946524f5b0bd11ca92982c931169c69f2d4 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 22 Jan 2025 12:50:09 +0100 Subject: [PATCH] minor --- server/api/controller/event.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/api/controller/event.js b/server/api/controller/event.js index 527c5b2c..41d0eb8e 100644 --- a/server/api/controller/event.js +++ b/server/api/controller/event.js @@ -977,6 +977,7 @@ const eventController = { const page = Number(req.query.page) || 0 const older = req.query.older || false + const show_federated = helpers.queryParamToBool(req.query.show_federated, false) const show_multidate = settings.allow_multidate_event && helpers.queryParamToBool(req.query.show_multidate, true) const show_recurrent = settings.allow_recurrent_event && helpers.queryParamToBool(req.query.show_recurrent, settings.recurrent_event_visible) @@ -991,7 +992,7 @@ const eventController = { }) } else { events = await eventController._select({ - start, end, query, places, tags, show_recurrent, show_multidate, limit, page, older + start, end, query, places, tags, show_recurrent, show_multidate, limit, page, older, show_federated }) }