diff options
author | friendica <info@friendica.com> | 2013-09-14 16:11:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-14 16:11:15 -0700 |
commit | a36cc949a1d4c106cd02ec8386c24bf964369571 (patch) | |
tree | 54bf82a2119702fd128e25741bae69379e32c689 | |
parent | 94417eecbae6ca678f402458373406d64efde3d6 (diff) | |
download | volse-hubzilla-a36cc949a1d4c106cd02ec8386c24bf964369571.tar.gz volse-hubzilla-a36cc949a1d4c106cd02ec8386c24bf964369571.tar.bz2 volse-hubzilla-a36cc949a1d4c106cd02ec8386c24bf964369571.zip |
this might fix "find channels" but I can't test the keyword search until this is running on a production site.
-rw-r--r-- | mod/directory.php | 2 | ||||
-rwxr-xr-x | view/tpl/peoplefind.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/directory.php b/mod/directory.php index b7cdaffe7..823c33cf7 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -70,7 +70,7 @@ function directory_content(&$a) { if($url) { $query = $url . '?f=' ; if($search) - $query .= '&name=' . urlencode($search); + $query .= '&name=' . urlencode($search) . '&keywords=' . urlencode($search); if(strpos($search,'@')) $query .= '&address=' . urlencode($search); diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index 72c0830cf..831cd9614 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -1,7 +1,7 @@ <div id="peoplefind-sidebar" class="widget"> <h3>{{$findpeople}}</h3> <div id="peoplefind-desc">{{$desc}}</div> - <form action="dirfind" method="post" /> + <form action="directory" method="post" /> <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" /> </form> <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div> |