From: Evan Prodromou Date: Thu, 20 Nov 2008 14:56:19 +0000 (-0500) Subject: break ties using profile ID for order X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8c18ae39b4970988a9ad969fb9c2f246ea6428a;p=quix0rs-gnu-social.git break ties using profile ID for order darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz --- diff --git a/lib/gallery.php b/lib/gallery.php index 683898d5db..fe36733540 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') {