Эх сурвалжийг харах

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

Romain Rigaux 8 жил өмнө
parent
commit
a61bc08

+ 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);