From f341780e1ff56a02d3283a1fb380f4fa0ac34ae9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 18 Jun 2008 13:24:44 -0400 Subject: more subscriptions/subscribers changes Showstream now shows subscriptions in reverse chron order, like the other pages. Added a callback method to figure out who the _other_ guy is in a subscription. Changed gallery page to be a UL of images. darcs-hash:20080618172444-84dde-b886f6f8170370ae1aaf2e7f996aff288a471145.gz --- actions/showstream.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/showstream.php') diff --git a/actions/showstream.php b/actions/showstream.php index f339e0898..d9637c377 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); -- cgit v1.2.3-54-g00ecf