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:
022aa41
)
Update for limit
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 12 Sep 2017 20:02:58 +0000
(16:02 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 12 Sep 2017 20:02:58 +0000
(16:02 -0400)
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
patch
|
blob
|
history
diff --git
a/models/front/events/list.php
b/models/front/events/list.php
index
8876335
..
13a0b60
100644
(file)
--- 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 );