]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
break ties using profile ID for order
authorEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 14:56:19 +0000 (09:56 -0500)
committerEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 14:56:19 +0000 (09:56 -0500)
darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz

lib/gallery.php

index 683898d5db20f7c0a3f6c0e7817e6ae53293cadf..fe36733540508386e534faeafb58bd9acab0962e 100644 (file)
@@ -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') {