summaryrefslogtreecommitdiff
path: root/lib/subscriptionspeopleselftagcloudsection.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-24 20:01:03 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-24 20:01:03 +0000
commitc008c0d4a56ec265ba6e10d208f9954510296f12 (patch)
treefd5a1545023b9fe6aa1246a814bce91f98f08323 /lib/subscriptionspeopleselftagcloudsection.php
parentfe3241183e3559442003b9b70435d59126e11b7e (diff)
fixed trac#1215, 1216, 1217 and 1219: subscribers/subscriptions people tagclouds.
Diffstat (limited to 'lib/subscriptionspeopleselftagcloudsection.php')
-rw-r--r--lib/subscriptionspeopleselftagcloudsection.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/subscriptionspeopleselftagcloudsection.php b/lib/subscriptionspeopleselftagcloudsection.php
index 8ac65adb0..3896294d2 100644
--- a/lib/subscriptionspeopleselftagcloudsection.php
+++ b/lib/subscriptionspeopleselftagcloudsection.php
@@ -49,6 +49,13 @@ class SubscriptionsPeopleSelfTagCloudSection extends SubPeopleTagCloudSection
}
function query() {
- return 'select tag, count(tag) as weight from subscription left join profile_tag on tagger = subscriber where subscribed=%d and subscriber != subscribed and tagger = tagged group by tag order by weight desc';
+// return 'select tag, count(tag) as weight from subscription left join profile_tag on tagger = subscriber where subscribed=%d and subscriber != subscribed and tagger = tagged group by tag order by weight desc';
+
+
+
+ return 'select tag, count(tag) as weight from subscription left join profile_tag on tagger = subscribed where subscriber=%d and subscribed != subscriber and tagger = tagged and tag is not null group by tag order by weight desc';
+
+// return 'select tag, count(tag) as weight from subscription left join profile_tag on tagger = subscriber where subscribed=%d and subscribed != subscriber and tagger = tagged and tag is not null group by tag order by weight desc';
}
}
+