Sort notices on the public page where they were posted in the same second
darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz
This commit is contained in:
parent
800c2e9a09
commit
464e70ac5d
|
@ -65,7 +65,7 @@ class PublicAction extends StreamAction {
|
|||
|
||||
$notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
|
||||
|
||||
$notice->orderBy('created DESC');
|
||||
$notice->orderBy('created DESC, notice.id DESC');
|
||||
|
||||
# We fetch one extra, to see if we need an "older" link
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user