convert bidderlist view
This commit is contained in:
parent
f225f05638
commit
7499abfef2
@ -25,11 +25,10 @@ class PagesController extends Controller
|
||||
|
||||
public function bidderlist()
|
||||
{
|
||||
$bidderlist_results = DB::select("SELECT
|
||||
*
|
||||
FROM bidders
|
||||
ORDER BY bidder_assigned_number ASC, bidder_fname ASC
|
||||
");
|
||||
$bidderlist_results = Bidders::orderBy('bidder_assigned_number', 'asc')
|
||||
->orderBy('bidder_lname', 'asc')
|
||||
->orderBy('bidder_fname', 'asc')
|
||||
->get();
|
||||
return view('bidderlist', ['bidderlist_results' => $bidderlist_results]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user