Changed comment sort order asc. Changed ajax comment add to append comment li to comment thread ul. Added fadeIn for user login.

This commit is contained in:
Chad Kieffer
2008-11-24 07:12:45 +00:00
parent dd200ce5ff
commit c812d2a931
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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()) {