order applist in dropdown by name
This commit is contained in:
parent
7a02986982
commit
b30f1730e4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Application extends Model
|
|||
public static function applist()
|
||||
{
|
||||
$list = [];
|
||||
$all = self::all();
|
||||
$all = self::orderBy('name')->get();
|
||||
$list['null'] = 'None';
|
||||
foreach($all as $app) {
|
||||
$name = $app->name;
|
||||
|
|
Loading…
Add table
Reference in a new issue