break ties using profile ID for order
darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz
This commit is contained in:
parent
49bb4a7b84
commit
d8c18ae39b
|
@ -105,7 +105,7 @@ class GalleryAction extends Action {
|
||||||
'ON profile.id = subscription.' . $lst . ' ' .
|
'ON profile.id = subscription.' . $lst . ' ' .
|
||||||
'WHERE ' . $usr . ' = ' . $profile->id . ' ' .
|
'WHERE ' . $usr . ' = ' . $profile->id . ' ' .
|
||||||
'AND subscriber != subscribed ' .
|
'AND subscriber != subscribed ' .
|
||||||
'ORDER BY subscription.created DESC ' .
|
'ORDER BY subscription.created DESC, profile.id DESC ' .
|
||||||
$lim);
|
$lim);
|
||||||
|
|
||||||
if ($display == 'list') {
|
if ($display == 'list') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user