pzb 6 years ago
parent
commit
2e36f4697e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/AppInfo.py

+ 2 - 1
Controller/AppInfo.py

@@ -226,8 +226,9 @@ class AppVersionView(View):
         #     return render_to_response('appVersionLists_cn.html')
         # else:
         #     return render_to_response('appVersionLists_en.html')
-        queryset = App_Colophon.objects.filter(lang=lang,app_id__appBundleId=appBundleId,app_id__app_type=app_type).order_by('-newApp_version')
+        queryset = App_Colophon.objects.filter(lang=lang,app_id__appBundleId=appBundleId,app_id__app_type=app_type).order_by('-version_time','-newApp_version')
         queryset_dict = CommonService.qs_to_dict(queryset).get('datas')
+        print (queryset_dict)
         # 修改数据逻辑改装数据返回值
         for k, v in enumerate(queryset_dict):
             content = v['fields']['content']