diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-18 15:56:57 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-19 08:42:37 +0200 |
commit | 9bc9aa123f942062f950452e2303e4d7932a809e (patch) | |
tree | 83909f30ee825452569c88ea11c25ab445198d0b | |
parent | 19782655e6110c615b017059ae5b3e10e7d71d60 (diff) | |
download | volse-hubzilla-9bc9aa123f942062f950452e2303e4d7932a809e.tar.gz volse-hubzilla-9bc9aa123f942062f950452e2303e4d7932a809e.tar.bz2 volse-hubzilla-9bc9aa123f942062f950452e2303e4d7932a809e.zip |
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
-rw-r--r-- | include/taxonomy.php | 2 | ||||
-rw-r--r-- | view/pdl/mod_pubstream.pdl | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index f65cdd941..e8d33986f 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -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) diff --git a/view/pdl/mod_pubstream.pdl b/view/pdl/mod_pubstream.pdl index abb1a4931..539900155 100644 --- a/view/pdl/mod_pubstream.pdl +++ b/view/pdl/mod_pubstream.pdl @@ -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] |