From 04bc440cd48612db51eb22f64ea5d7e385629b29 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Mon, 1 Jun 2020 13:05:11 -0400 Subject: [PATCH] Update report.php --- admin/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/report.php b/admin/report.php index 387b8cb..5143b19 100644 --- a/admin/report.php +++ b/admin/report.php @@ -87,7 +87,7 @@ while($d = mysqli_fetch_array($r)){ unset($hide); $hide = array(); $pID = $d['petition_id']; - $q2="SELECT * FROM signatures where petition_id = '$pID' and printed_status <> '' and signature_status <> 'deleted' order by id desc"; + $q2="SELECT * FROM signatures where petition_id = '$pID' and printed_status <> '' and signature_status <> 'deleted' order by signature_status, id desc"; $r2 = $petition->query($q2); while($d2 = mysqli_fetch_array($r2)){ if ($d2['signature_status'] == 'verified'){ -- 2.20.1