From e014dd2255362ac6513a69947d87c949bcd6b6ee Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 12 Sep 2017 16:02:58 -0400 Subject: [PATCH] Update for limit For the limit if the events are grouped by days then it really needs to get all of the events and we don't want it to limit in the query. The limit is done when it sorted the events into the new array. --- models/front/events/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/front/events/list.php b/models/front/events/list.php index 8876335..13a0b60 100644 --- a/models/front/events/list.php +++ b/models/front/events/list.php @@ -91,7 +91,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction $view = $actionData['request']['template']; } if ( $limit ) { - $action = 'front-page'; + //$action = 'front-page'; } if ( isset( $actionData['request']['featured'] ) ) { $featured = filter_var( $actionData['request']['featured'], FILTER_VALIDATE_BOOLEAN ); -- 2.17.1