this might fix "find channels" but I can't test the keyword search until this is running on a production site.

This commit is contained in:
friendica 2013-09-14 16:11:15 -07:00
parent 94417eecba
commit a36cc949a1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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>