Commit e12bab6039010409b587e3684e7c729c3e99f3a0

Authored by Rodrigo Souto
1 parent 4949dfce

[media-panel-improvements] Use reoder to overwrite order by name

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/my_profile/cms_controller.rb
@@ -480,7 +480,7 @@ class CmsController < MyProfileController @@ -480,7 +480,7 @@ class CmsController < MyProfileController
480 files = profile.files 480 files = profile.files
481 end 481 end
482 482
483 - files = files.more_recent 483 + files = files.reorder('created_at DESC')
484 images = files.images 484 images = files.images
485 generics = files.no_images 485 generics = files.no_images
486 486