From 3f78a6bc323630f1a504e224afced74957ad30b3 Mon Sep 17 00:00:00 2001 From: Mischa Spelt Date: Wed, 4 Oct 2017 20:10:19 +0200 Subject: [PATCH] Recent news now 30 days instead of 60 --- api/app/Http/Controllers/NewsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/Http/Controllers/NewsController.php b/api/app/Http/Controllers/NewsController.php index 30a7911..f5e423f 100644 --- a/api/app/Http/Controllers/NewsController.php +++ b/api/app/Http/Controllers/NewsController.php @@ -124,9 +124,9 @@ QUERY 'type' => $category == self::$NEWS_CATEGORY ? 'nieuws' : ($category == self::$CALENDAR_CATEGORY ? 'agenda' : ( "" ) ), - 'interval' => $category == self::$NEWS_CATEGORY ? 60 + 'interval' => $category == self::$NEWS_CATEGORY ? 30 : ($category == self::$CALENDAR_CATEGORY ? 0 - : 60 ), + : 30 ), 'category' => $category, 'count' => $count ]);