Browse Source

REPORT-86430 AlphaFine插件中心tab页显示内容有误

release/11.0
Yann 2 years ago
parent
commit
f180e4f8f5
  1. 6
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/PluginSearchManager.java

6
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/PluginSearchManager.java

@ -200,11 +200,7 @@ public class PluginSearchManager implements AlphaFineSearchProvider {
List<PluginModel> parseDefaultPluginModel(List<Map> jsonObjects) {
List<PluginModel> pluginModels = new ArrayList<>();
if (!Collections.isEmpty(jsonObjects)) {
try {
jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime);
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e, e.getMessage());
}
jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime);
int pluginModelsCount = 0;
String version = "v" + ProductConstants.MAIN_VERSION;
for (Map obj : jsonObjects) {

Loading…
Cancel
Save