projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38f772
)
Check for memberType in request
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 11 Apr 2017 20:11:40 +0000
(16:11 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 11 Apr 2017 20:11:40 +0000
(16:11 -0400)
This will override the type from the shortcode.
models/front/members/list.php
patch
|
blob
|
history
diff --git
a/models/front/members/list.php
b/models/front/members/list.php
index
c3570a6
..
39a3cdf
100644
(file)
--- a/
models/front/members/list.php
+++ b/
models/front/members/list.php
@@
-185,6
+185,9
@@
class GlmMembersFront_members_list extends GlmDataMemberInfo
if (isset($_REQUEST['blankStart'])) {
$actionData['request']['blank-start'] = $_REQUEST['blankStart'];
}
+ if (isset($_REQUEST['memberType'])) {
+ $actionData['request']['type'] = $_REQUEST['memberType'];
+ }
if (isset($_REQUEST['categorySearch'])) {
$actionData['request']['category-search'] = $_REQUEST['categorySearch'];
}