Fix primary key changes in dynamic analysis

This commit is contained in:
Ajin Abraham
2021-04-10 13:28:44 -07:00
parent 8224cc781a
commit cc338cb84a
3 changed files with 4 additions and 4 deletions
@@ -39,8 +39,8 @@ def dynamic_analysis(request, api=False):
try:
scan_apps = []
apks = StaticAnalyzerAndroid.objects.filter(
APP_TYPE='apk').order_by('-id')
for apk in apks:
APP_TYPE='apk')
for apk in reversed(apks):
temp_dict = {
'ICON_FOUND': apk.ICON_FOUND,
'MD5': apk.MD5,
File diff suppressed because one or more lines are too long
@@ -425,7 +425,7 @@ function dynamic_loader(){
"paging": true,
"lengthChange": false,
"searching": true,
"ordering": true,
"ordering": false,
"info": true,
"autoWidth": true,
"responsive": true,