aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-05 00:45:38 -0700
committerredmatrix <git@macgirvin.com>2016-05-05 00:45:38 -0700
commit8ffdc4859baa9f2ae9567a4c443dfbb227919167 (patch)
tree673a2b141f399c445e0dc48376d75dee0892f583 /include/contact_widgets.php
parent9b19a51fc6cf38c1b465be5c97f92c840f257a40 (diff)
downloadvolse-hubzilla-8ffdc4859baa9f2ae9567a4c443dfbb227919167.tar.gz
volse-hubzilla-8ffdc4859baa9f2ae9567a4c443dfbb227919167.tar.bz2
volse-hubzilla-8ffdc4859baa9f2ae9567a4c443dfbb227919167.zip
replace app tagcloud with more traditional categories widget. One can always change this in the PDL
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index ba1241fcb..e62d57aa2 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -79,12 +79,14 @@ function categories_widget($baseurl,$selected = '') {
where item.uid = %d
and term.uid = item.uid
and term.type = %d
+ and term.otype = %d
and item.owner_xchan = '%s'
and item.item_wall = 1
$item_normal
order by term.term asc",
intval(App::$profile['profile_uid']),
intval(TERM_CATEGORY),
+ intval(TERM_OBJ_POST),
dbesc(App::$profile['channel_hash'])
);
if($r && count($r)) {