mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-29 03:04:08 -04:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user