Browse Source

order by serverUrl

Marino Faggiana 8 năm trước cách đây
mục cha
commit
f93d568555
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/FileSystem/CCCoreData.m

+ 1 - 1
iOSClient/FileSystem/CCCoreData.m

@@ -1096,7 +1096,7 @@
         
         TableDirectory *record1 = obj1, *record2 = obj2;
         
-        return (record1.serverUrl < record2.serverUrl);
+        return [record1.serverUrl compare:record2.serverUrl];
         
     }];