Explorar o código

order by serverUrl

Marino Faggiana %!s(int64=8) %!d(string=hai) anos
pai
achega
f93d568555
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];
         
     }];