feat(persons): order persons by full_name ASC for easier list scanning
closes #418
This commit is contained in:
parent
6f8217e1a6
commit
68a599fee0
|
@ -38,7 +38,8 @@ class PersonController extends BaseController
|
|||
public function index(): string
|
||||
{
|
||||
$data = [
|
||||
'persons' => (new PersonModel())->findAll(),
|
||||
'persons' => (new PersonModel())->orderBy('full_name')
|
||||
->findAll(),
|
||||
];
|
||||
|
||||
return view('person/list', $data);
|
||||
|
|
Loading…
Reference in New Issue