mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-05 08:52:00 +00:00
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
|
public function index(): string
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
'persons' => (new PersonModel())->findAll(),
|
'persons' => (new PersonModel())->orderBy('full_name')
|
||||||
|
->findAll(),
|
||||||
];
|
];
|
||||||
|
|
||||||
return view('person/list', $data);
|
return view('person/list', $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user