فهرست منبع

HUE-6346 [home] Default sort to last modified time

Romain Rigaux 8 سال پیش
والد
کامیت
a61bc08
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/document/hueFileEntry.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/document/hueFileEntry.js

@@ -26,7 +26,7 @@ var HueFileEntry = (function () {
       if (!a.isDirectory() && b.isDirectory()) {
         return 1;
       }
-      return sorts.nameAsc(a, b);
+      return sorts.lastModifiedDesc(a, b);
     },
     nameAsc: function (a, b) {
       return a.definition().name.localeCompare(b.definition().name);