diff --git a/reports/statistics.py b/reports/statistics.py index 4fa230f..6bf1043 100644 --- a/reports/statistics.py +++ b/reports/statistics.py @@ -289,9 +289,13 @@ def encryption_statistics(conn): COUNT(*) AS total + FROM access_points + WHERE encryption IS NOT NULL AND TRIM(encryption) != '' + GROUP BY encryption + ORDER BY total DESC """