From: Steve Sutton Date: Tue, 12 Sep 2017 20:02:58 +0000 (-0400) Subject: Update for limit X-Git-Tag: v1.6.65^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e014dd2255362ac6513a69947d87c949bcd6b6ee;p=WP-Plugins%2Fglm-member-db-events.git 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. --- 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 );