aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-19 17:46:26 -0800
committerFriendika <info@friendika.com>2010-12-19 17:46:26 -0800
commit24a9a41f969cfd7625847c77a949e4b279f68406 (patch)
treea78eb978ea9def0bb85b2202d90662ae23c3c22f /mod/directory.php
parent4a2d83fcfff548e50d3138ff617c0acd99445e03 (diff)
downloadvolse-hubzilla-24a9a41f969cfd7625847c77a949e4b279f68406.tar.gz
volse-hubzilla-24a9a41f969cfd7625847c77a949e4b279f68406.tar.bz2
volse-hubzilla-24a9a41f969cfd7625847c77a949e4b279f68406.zip
added "secret" profile search keywords
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 e9bbf47ab..449c89174 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -37,7 +37,7 @@ function directory_content(&$a) {
if($search)
$search = dbesc($search);
- $sql_extra = ((strlen($search)) ? " AND MATCH (`profile`.`name`, `user`.`nickname`, `locality`,`region`,`country-name`,`gender`,`marital`,`sexual`,`about`,`romance`,`work`,`education`) AGAINST ('$search' IN BOOLEAN MODE) " : "");
+ $sql_extra = ((strlen($search)) ? " AND MATCH (`profile`.`name`, `user`.`nickname`, `locality`,`region`,`country-name`,`gender`,`marital`,`sexual`,`about`,`romance`,`work`,`education`,`keywords` ) AGAINST ('$search' IN BOOLEAN MODE) " : "");
$r = q("SELECT COUNT(*) AS `total` FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid` WHERE `is-default` = 1 AND `publish` = 1 AND `user`.`blocked` = 0 $sql_extra ");