just provide the trending tags in public stream by default and simplify the query to improve load times; I intend to do additional work on this feature later

This commit is contained in:
zotlabs 2018-04-18 15:56:57 -07:00
parent c53f788cc8
commit 2ec28a5993
2 changed files with 1 additions and 2 deletions

View file

@ -338,7 +338,7 @@ function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) {
else {
$sys = get_sys_channel();
$uids = " and item.uid = " . intval($sys['channel_id']) . " ";
$sql_extra = item_permissions_sql($sys['channel_id']);
$sql_extra = " and item_private = 0 ";
}
if($recent)

View file

@ -1,6 +1,5 @@
[region=aside]
[widget=pubtagcloud][var=trending]8[/var][var=limit]20[/var][/widget]
[widget=pubtagcloud][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]