aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-18 15:56:57 -0700
committerzotlabs <mike@macgirvin.com>2018-04-18 15:56:57 -0700
commit2ec28a59932defdf6353f8ed72e3e67ef5a90f9a (patch)
treecc70541cd33c622cfdb44c4232cd0026e6c0c364
parentc53f788cc85f83f00e1b5bec19efd54f1372a12b (diff)
downloadvolse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.tar.gz
volse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.tar.bz2
volse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.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.php2
-rw-r--r--view/pdl/mod_pubstream.pdl1
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]