From bda367f7f0f4c8eb8a9d2588cc6b09cfce7e29d3 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 19 Dec 2019 16:24:47 +0100 Subject: [PATCH] fix: [UI decoded item] sort mimetype --- var/www/modules/hashDecoded/Flask_hashDecoded.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/modules/hashDecoded/Flask_hashDecoded.py b/var/www/modules/hashDecoded/Flask_hashDecoded.py index 65b955ec..6981f63b 100644 --- a/var/www/modules/hashDecoded/Flask_hashDecoded.py +++ b/var/www/modules/hashDecoded/Flask_hashDecoded.py @@ -597,7 +597,7 @@ def hashDecoded_page(): b64_metadata.append( (file_icon, estimated_type, hash, nb_seen_in_paste, size, first_seen, last_seen, b64_vt, b64_vt_link, b64_vt_report, sparklines_value) ) - l_type = r_serv_metadata.smembers('hash_all_type') + l_type = sorted(r_serv_metadata.smembers('hash_all_type')) return render_template("hashDecoded.html", l_64=b64_metadata, vt_enabled=vt_enabled, l_type=l_type, type=type, daily_type_chart=daily_type_chart, daily_date=daily_date, encoding=encoding, all_encoding=all_encoding, date_from=date_from, date_to=date_to, show_decoded_files=show_decoded_files)