From: Anthony Talarico Date: Fri, 23 Jun 2017 16:06:11 +0000 (-0400) Subject: adding featured event check to the group by month conidtional X-Git-Tag: v1.6.47^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=a5ae5311d6f229d1bf3593882fef6317121d9e53;p=WP-Plugins%2Fglm-member-db-events.git adding featured event check to the group by month conidtional adding a check for featured events with the event from date so that the featured events are also being pulled in --- diff --git a/models/front/events/list.php b/models/front/events/list.php index ec2d563..ef8ab34 100644 --- a/models/front/events/list.php +++ b/models/front/events/list.php @@ -189,7 +189,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction ) ) ); - } else if ( $groupMonth ) { + } else if ( $groupMonth && !$featured) { // restrict the date to one month of events if ( !isset( $_REQUEST['glm_event_from'] ) ) { // use the first date for this month