aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-23 19:44:23 -0800
committerfriendica <info@friendica.com>2013-12-23 19:44:23 -0800
commit8194ade8868bb57180d49a86216fc6fd680b4e79 (patch)
tree046854eccc3532fbef059fcfce59b4cced08e2f5 /mod/dirsearch.php
parent766454a607425d74d90fe0125fcadff5c80a2c58 (diff)
downloadvolse-hubzilla-8194ade8868bb57180d49a86216fc6fd680b4e79.tar.gz
volse-hubzilla-8194ade8868bb57180d49a86216fc6fd680b4e79.tar.bz2
volse-hubzilla-8194ade8868bb57180d49a86216fc6fd680b4e79.zip
improve the directory popup a bit
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 6490d59df..43cb13470 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -172,13 +172,11 @@ function dirsearch_content(&$a) {
json_return_and_die($spkt);
}
else {
-dbg(1);
$r = q("SELECT xchan.*, xprof.* from xchan left join xprof on xchan_hash = xprof_hash where ( $logic $sql_extra ) and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) $safesql $order $qlimit ",
intval(XCHAN_FLAGS_HIDDEN),
intval(XCHAN_FLAGS_ORPHAN),
intval(XCHAN_FLAGS_DELETED)
);
-dbg(0);
}
$ret['page'] = $page + 1;
@@ -195,8 +193,6 @@ dbg(0);
$entry['name'] = $rr['xchan_name'];
$entry['hash'] = $rr['xchan_hash'];
-// $entry['updated'] = (($rr['ud_date']) ? $rr['ud_date'] : '0000-00-00 00:00:00');
-// $entry['update_guid'] = (($rr['ud_guid']) ? $rr['ud_guid'] : '');
$entry['url'] = $rr['xchan_url'];
$entry['photo_l'] = $rr['xchan_photo_l'];
$entry['photo'] = $rr['xchan_photo_m'];
@@ -210,6 +206,7 @@ dbg(0);
$entry['age'] = $rr['xprof_age'];
$entry['gender'] = $rr['xprof_gender'];
$entry['marital'] = $rr['xprof_marital'];
+ $entry['sexual'] = $rr['xprof_sexual'];
$entry['keywords'] = $rr['xprof_keywords'];
$entries[] = $entry;