diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-01 08:00:41 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-01 08:00:41 -0700 |
commit | 1a61a171cdb39444e2c0fbed7cf3a92e0ec271df (patch) | |
tree | edf2eb852163f3806d813ac6292ab67be1aed40f /lib/subscriptionspeopletagcloudsection.php | |
parent | a86a0e91a5acb5ea894a3d066f9adf3b1ef305ae (diff) | |
parent | 19a21947046062fc0cc313b23ae7418d317def89 (diff) |
Merge branch '0.7.x' into cometplugin
Diffstat (limited to 'lib/subscriptionspeopletagcloudsection.php')
-rw-r--r-- | lib/subscriptionspeopletagcloudsection.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/subscriptionspeopletagcloudsection.php b/lib/subscriptionspeopletagcloudsection.php index c3f7d1763..f9c8672e3 100644 --- a/lib/subscriptionspeopletagcloudsection.php +++ b/lib/subscriptionspeopletagcloudsection.php @@ -54,6 +54,8 @@ class SubscriptionsPeopleTagCloudSection extends SubPeopleTagCloudSection } function query() { - return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed group by tag order by weight desc'; +// return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed group by tag order by weight desc'; + return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed and tag is not null group by tag order by weight desc'; } } + |