moon ordering

This commit is contained in:
2018-10-29 21:04:26 -05:00
parent 98e586bf03
commit 5ccd0832ff
2 changed files with 7 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ class MoonsController extends Controller
//Update the prices for the moon
$moonCalc->FetchNewPrices();
//get all of the moons from the database
$moons = DB::table('Moons')->get();
$moons = DB::table('Moons')->orderBy('System', 'asc')->get();
//declare the html variable and set it to null
$html = '';
foreach($moons as $moon) {