diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-15 21:43:42 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-15 21:43:42 -0700 |
commit | 070397ef1470972476df48b169f4d6ee844c5c1f (patch) | |
tree | 2e370916bc4a78839498d1de96b10bbcd9dc6f18 /include/contact_widgets.php | |
parent | b9fd8b46141cebbd5658819782f797cf14cef1fd (diff) | |
download | volse-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.php | 3 |
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']), |