From d8c18ae39b4970988a9ad969fb9c2f246ea6428a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 09:56:19 -0500 Subject: break ties using profile ID for order darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz --- lib/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gallery.php') diff --git a/lib/gallery.php b/lib/gallery.php index 683898d5d..fe3673354 100644 --- a/lib/gallery.php +++ b/lib/gallery.php @@ -105,7 +105,7 @@ class GalleryAction extends Action { 'ON profile.id = subscription.' . $lst . ' ' . 'WHERE ' . $usr . ' = ' . $profile->id . ' ' . 'AND subscriber != subscribed ' . - 'ORDER BY subscription.created DESC ' . + 'ORDER BY subscription.created DESC, profile.id DESC ' . $lim); if ($display == 'list') { -- cgit v1.2.3-54-g00ecf