aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-15 21:43:42 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-15 21:43:42 -0700
commit070397ef1470972476df48b169f4d6ee844c5c1f (patch)
tree2e370916bc4a78839498d1de96b10bbcd9dc6f18 /include/contact_widgets.php
parentb9fd8b46141cebbd5658819782f797cf14cef1fd (diff)
downloadvolse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.tar.gz
volse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.tar.bz2
volse-hubzilla-070397ef1470972476df48b169f4d6ee844c5c1f.zip
make tagadelic results (including categories in wall-to-wall posts) visible to wall visitors by checking ownership rather than authorship. It is doubtful the queries will scale on redmatrix so moved forward to hubzilla tree.
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 2c41ea92e..a60b8b1c3 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -79,7 +79,8 @@ function categories_widget($baseurl,$selected = '') {
where item.uid = %d
and term.uid = item.uid
and term.type = %d
- and item.author_xchan = '%s'
+ and item.owner_xchan = '%s'
+ and item.item_wall = 1
$item_normal
order by term.term asc",
intval($a->profile['profile_uid']),