浏览代码

Fix order Favorite

Marino Faggiana 7 年之前
父节点
当前提交
e7547a2359
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {