summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-11-24 07:12:45 +0000
committerChad Kieffer <chad@2tbsp.com>2008-11-24 07:12:45 +0000
commitc812d2a9314eec3d73f9408cf1f3938edc675b0d (patch)
tree0378c8b0433ae38c48c11f7a00bf876cfca8d531 /modules
parentdd200ce5ff5c5039f6ccf95067164aac2388183f (diff)
Changed comment sort order asc. Changed ajax comment add to append comment li to comment thread ul. Added fadeIn for user login.
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/helpers/comment.php2
1 files changed, 1 insertions, 1 deletions
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()) {