convert bidderlist view

This commit is contained in:
Russ Long 2018-12-23 09:54:54 -05:00
parent f225f05638
commit 7499abfef2

View File

@ -25,11 +25,10 @@ class PagesController extends Controller
public function bidderlist() public function bidderlist()
{ {
$bidderlist_results = DB::select("SELECT $bidderlist_results = Bidders::orderBy('bidder_assigned_number', 'asc')
* ->orderBy('bidder_lname', 'asc')
FROM bidders ->orderBy('bidder_fname', 'asc')
ORDER BY bidder_assigned_number ASC, bidder_fname ASC ->get();
");
return view('bidderlist', ['bidderlist_results' => $bidderlist_results]); return view('bidderlist', ['bidderlist_results' => $bidderlist_results]);
} }