Skip to content

Commit

Permalink
order alerts on homepage by timestamp (latest first)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-lucidchart authored and g76r committed Feb 16, 2016
1 parent 285a716 commit 29a050c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'AND acknowledged = 0 '.
'AND s.user_id = ' . fSession::get('user_id') . ' ' .
'GROUP BY c.check_id ' .
'ORDER BY r.timestamp DESC ' .
'LIMIT ' . $GLOBALS['PAGE_SIZE'] . ' ' .
'OFFSET ' . $offset . ';';

Expand Down

0 comments on commit 29a050c

Please sign in to comment.