mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +02:00
feat(persons): order persons by full_name ASC for easier list scanning
closes #418
This commit is contained in:
parent
6f8217e1a6
commit
68a599fee0
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue