From c812d2a9314eec3d73f9408cf1f3938edc675b0d Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 24 Nov 2008 07:12:45 +0000 Subject: Changed comment sort order asc. Changed ajax comment add to append comment li to comment thread ul. Added fadeIn for user login. --- modules/comment/helpers/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index be44fc13..099a3833 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -108,7 +108,7 @@ class comment_Core { // @todo Set proper Content-Type in a central place (REST_Controller::dispatch?). static function get_comments($item_id) { $comments = ORM::factory('comment')->where('item_id', $item_id) - ->orderby('datetime', 'desc') + ->orderby('datetime', 'asc') ->find_all(); if (!$comments->count()) { -- cgit v1.2.3