projects
/
WP-Plugins
/
glm-member-db-apis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7053520
)
Add qf search param
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 1 May 2017 20:19:59 +0000
(16:19 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 1 May 2017 20:19:59 +0000
(16:19 -0400)
For the search
models/front/apis/golfclubDirectory.php
patch
|
blob
|
history
diff --git
a/models/front/apis/golfclubDirectory.php
b/models/front/apis/golfclubDirectory.php
index
c2b6fbf
..
5ba0da0
100644
(file)
--- a/
models/front/apis/golfclubDirectory.php
+++ b/
models/front/apis/golfclubDirectory.php
@@
-56,6
+56,9
@@
class GlmMembersFront_apis_golfclubDirectory
// Setup the url.
$url = $directoryUrl . 'Directory.php';
$urlParams = array();
+ if ( isset( $_REQUEST['_qf__SearchForm'] ) ) {
+ $urlParams[] = '_qf__SearchForm=' . $_REQUEST['_qf__SearchForm'];
+ }
if ( isset( $_REQUEST['fname'] ) ) {
$urlParams[] = 'fname=' . $_REQUEST['fname'];
}