mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Standardize to uppercase DESC in the order by method calls
This commit is contained in:
@@ -31,7 +31,7 @@ class Comments_Controller extends REST_Controller {
|
||||
$comments = ORM::factory("comment")
|
||||
->where("item_id", $item->id)
|
||||
->where("state", "published")
|
||||
->orderby("created", "desc")
|
||||
->orderby("created", "DESC")
|
||||
->find_all();
|
||||
|
||||
switch (rest::output_format()) {
|
||||
|
||||
Reference in New Issue
Block a user