Bug fix for featured in agenda view
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 26 Apr 2018 19:41:40 +0000 (15:41 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 26 Apr 2018 19:41:40 +0000 (15:41 -0400)
Need to test with a few dev sites.

models/front/events/list.php

index f157589..78fc17e 100644 (file)
@@ -720,7 +720,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
         // group the events by the starting date
         $eventsByDate = $mainEvents = array();
         $eventCounter = 0;
-        if ( $events && $action != 'featured' && $action != 'current' && $groupByDay ) {
+        if ( $events && $action != 'current' && $groupByDay ) {
             foreach ( $events as $event ) {
                 if ( isset( $event['times'] ) && is_array( $event['times'] ) ) {
                     $eventCounter++;