diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-22 22:49:16 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-22 22:49:16 +0000 |
commit | 5908e2df90f3f4f71973e220621b01e08cfc3150 (patch) | |
tree | d06f61bb6805c3a83fc74bf9594cab4767921be9 /actions | |
parent | e8e0c74f8a517f83248873e16fed8a96d72af54f (diff) | |
parent | d6879bfe0c188b06f7b7730bb64af469d5c6e461 (diff) |
Merge branch 'master' of ../trunk
Diffstat (limited to 'actions')
-rw-r--r-- | actions/subscribers.php | 6 | ||||
-rw-r--r-- | actions/subscriptions.php | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php index 408829b54..be9df2b12 100644 --- a/actions/subscribers.php +++ b/actions/subscribers.php @@ -75,7 +75,11 @@ class SubscribersAction extends GalleryAction $offset = ($this->page-1) * PROFILES_PER_PAGE; $limit = PROFILES_PER_PAGE + 1; - $subscribers = $this->user->getSubscribers($offset, $limit); + if ($this->tag) { + $subscribers = $this->user->getTaggedSubscribers($this->tag, $offset, $limit); + } else { + $subscribers = $this->user->getSubscribers($offset, $limit); + } if ($subscribers) { $subscribers_list = new SubscribersList($subscribers, $this->user, $this); diff --git a/actions/subscriptions.php b/actions/subscriptions.php index bcc557891..d7ba0d624 100644 --- a/actions/subscriptions.php +++ b/actions/subscriptions.php @@ -84,7 +84,11 @@ class SubscriptionsAction extends GalleryAction $offset = ($this->page-1) * PROFILES_PER_PAGE; $limit = PROFILES_PER_PAGE + 1; - $subscriptions = $this->user->getSubscriptions($offset, $limit); + if ($this->tag) { + $subscriptions = $this->user->getTaggedSubscriptions($this->tag, $offset, $limit); + } else { + $subscriptions = $this->user->getSubscriptions($offset, $limit); + } if ($subscriptions) { $subscriptions_list = new SubscriptionsList($subscriptions, $this->user, $this); |