From b128a81acaad9f85bb468ba624d57d88270e223b Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 23 Dec 2018 09:11:53 -0500 Subject: [PATCH] Convert helpers --- app/helpers.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index 2c9db2e..c6f536f 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -25,7 +25,9 @@ class CheckoutBidderSelectList { public static function CheckoutBidderShowNumbers() { - $checkout_bidder_num_results = Checkout::with('bidders') + $checkout_bidder_num_results = Checkout::with(['bidders' => function ($q) { + $q->orderBy('bidder_assigned_number', 'asc'); + }]) ->orderBy('bidder_assigned_number') ->get(); $checkout_bidder_num = '';