소스 검색

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