diff --git a/admin/fundraising.php b/admin/fundraising.php index 785aa9d..6a1bed1 100644 --- a/admin/fundraising.php +++ b/admin/fundraising.php @@ -71,7 +71,8 @@ require_once("../dialog.inc.php"); FROM sponsorships JOIN sponsors ON sponsorships.sponsors_id=sponsors.id WHERE (sponsorships.fundraising_type='$r->type' $orsql) - AND sponsorships.year='{$config['FAIRYEAR']}'"); + AND sponsorships.year='{$config['FAIRYEAR']}' + ORDER BY status DESC, probability DESC, organization"); while($sr=mysql_fetch_object($sq)) { echo "id\" class=\"fundraising{$sr->status}\">"; echo "id&fundraising_type=$r->type',400,200)\" href=\"#\">";