Convert helpers

This commit is contained in:
Russ Long 2018-12-23 09:11:53 -05:00
parent f14e20b22a
commit b128a81aca

View File

@ -25,7 +25,9 @@ class CheckoutBidderSelectList
{ {
public static function CheckoutBidderShowNumbers() 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') ->orderBy('bidder_assigned_number')
->get(); ->get();
$checkout_bidder_num = '<option disabled selected hidden value="">choose...</option>'; $checkout_bidder_num = '<option disabled selected hidden value="">choose...</option>';