diff options
author | Friendika <info@friendika.com> | 2011-03-14 00:28:49 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-14 00:28:49 -0700 |
commit | 7b92b42603bca729bdef81349c578b65bf7ab256 (patch) | |
tree | 14619074ae8de42792d58badc52e8be8268460a0 /mod/directory.php | |
parent | f2734681e537031926a1e9c142403048b420deee (diff) | |
download | volse-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.php | 2 |
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 " ); |