Forráskód Böngészése

Fix order Favorite

Marino Faggiana 7 éve
szülő
commit
e7547a2359
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      iOSClient/Favorites/CCFavorites.m

+ 1 - 1
iOSClient/Favorites/CCFavorites.m

@@ -534,7 +534,7 @@
         
     if (!_serverUrl) {
             
-        recordsTableMetadata = [[NCManageDatabase sharedInstance] getMetadatasWithPredicate:[NSPredicate predicateWithFormat:@"account = %@ AND favorite = true", app.activeAccount] sorted:nil ascending:NO];
+        recordsTableMetadata = [[NCManageDatabase sharedInstance] getMetadatasWithPredicate:[NSPredicate predicateWithFormat:@"account = %@ AND favorite = true", app.activeAccount] sorted:[CCUtility getOrderSettings] ascending:[CCUtility getAscendingSettings]];
             
     } else {