Recent news now 30 days instead of 60

This commit is contained in:
2017-10-04 20:10:19 +02:00
parent cb783ec4e8
commit 3f78a6bc32

View File

@@ -124,9 +124,9 @@ QUERY
'type' => $category == self::$NEWS_CATEGORY ? 'nieuws' 'type' => $category == self::$NEWS_CATEGORY ? 'nieuws'
: ($category == self::$CALENDAR_CATEGORY ? 'agenda' : ($category == self::$CALENDAR_CATEGORY ? 'agenda'
: ( "" ) ), : ( "" ) ),
'interval' => $category == self::$NEWS_CATEGORY ? 60 'interval' => $category == self::$NEWS_CATEGORY ? 30
: ($category == self::$CALENDAR_CATEGORY ? 0 : ($category == self::$CALENDAR_CATEGORY ? 0
: 60 ), : 30 ),
'category' => $category, 'category' => $category,
'count' => $count 'count' => $count
]); ]);