X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowstream.php;h=d9637c377520da50621b0780c6395405ceaac8d9;hb=4aedce6864eb27a0c37b3dcae22fee0aa16ae537;hp=49a44b274c819674dcc0b8ccefc623211f0413df;hpb=d4341f03c27b59695d4b2829e1d328c2af0475eb;p=quix0rs-gnu-social.git diff --git a/actions/showstream.php b/actions/showstream.php index 49a44b274c..d9637c3775 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -204,7 +204,8 @@ class ShowstreamAction extends StreamAction { $subs = DB_DataObject::factory('subscription'); $subs->subscriber = $profile->id; - + $subs->orderBy('created DESC'); + # We ask for an extra one to know if we need to do another page $subs->limit(0, SUBSCRIPTIONS + 1); @@ -289,7 +290,7 @@ class ShowstreamAction extends StreamAction { common_element_end('dt'); common_element('dd', 'subscriptions', $subs_count); common_element_start('dt', 'subscribers'); - common_element('a', array('href' => common_local_url('subscribed', + common_element('a', array('href' => common_local_url('subscribers', array('nickname' => $profile->nickname))), _t('Subscribers')); common_element_end('dt');