aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-14 00:28:49 -0700
committerFriendika <info@friendika.com>2011-03-14 00:28:49 -0700
commit7b92b42603bca729bdef81349c578b65bf7ab256 (patch)
tree14619074ae8de42792d58badc52e8be8268460a0 /mod/directory.php
parentf2734681e537031926a1e9c142403048b420deee (diff)
downloadvolse-hubzilla-7b92b42603bca729bdef81349c578b65bf7ab256.tar.gz
volse-hubzilla-7b92b42603bca729bdef81349c578b65bf7ab256.tar.bz2
volse-hubzilla-7b92b42603bca729bdef81349c578b65bf7ab256.zip
keywords split into public and private. Public will be used by the friend finder.
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 0504ac321..825e2a375 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -40,7 +40,7 @@ function directory_content(&$a) {
if($search)
$search = dbesc($search);
- $sql_extra = ((strlen($search)) ? " AND MATCH (`profile`.`name`, `user`.`nickname`, `pdesc`, `locality`,`region`,`country-name`,`gender`,`marital`,`sexual`,`about`,`romance`,`work`,`education`,`keywords` ) AGAINST ('$search' IN BOOLEAN MODE) " : "");
+ $sql_extra = ((strlen($search)) ? " AND MATCH (`profile`.`name`, `user`.`nickname`, `pdesc`, `locality`,`region`,`country-name`,`gender`,`marital`,`sexual`,`about`,`romance`,`work`,`education`,`pub_keywords`,`prv_keywords` ) AGAINST ('$search' IN BOOLEAN MODE) " : "");
$publish = ((get_config('system','publish_all')) ? '' : " AND `publish` = 1 " );