projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9b4bb
)
Bug fix for featured in agenda view
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 26 Apr 2018 19:41:40 +0000
(15:41 -0400)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/models/front/events/list.php
b/models/front/events/list.php
index
f157589
..
78fc17e
100644
(file)
--- a/
models/front/events/list.php
+++ b/
models/front/events/list.php
@@
-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++;