summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-13 00:22:38 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-13 00:22:38 -0400
commit464e70ac5dd85cc55e33c6e1f4a9eed797362a7d (patch)
tree9048a0cc251ae4697ea379faa78db85ed267939d /actions
parent800c2e9a094681eff82aacdba6e5d22d547c4950 (diff)
Sort notices on the public page where they were posted in the same second
darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index 745285961..98e570e80 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -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