marinofaggiana 4 năm trước cách đây
mục cha
commit
ea220b781a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/Data/NCDataSource.swift

+ 1 - 1
iOSClient/Data/NCDataSource.swift

@@ -65,7 +65,7 @@ class NCDataSource: NSObject {
         Metadata order
         */
         
-        if sort != "none" {
+        if sort != "none" && sort != "" {
             metadatasSourceSorted = metadatasSource.sorted { (obj1:tableMetadata, obj2:tableMetadata) -> Bool in
                 if sort == "date" {
                     if ascending {