Skip to content

Commit

Permalink
IncidentsController: Use severity as default sort and fix Opened On
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and nilmerg committed May 31, 2024
1 parent f050a76 commit e582ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/IncidentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public function indexAction(): void
$sortControl = $this->createSortControl(
$incidents,
[
'incident.started_at' => t('Opened On'),
'incident.severity desc, incident.started_at' => t('Severity'),
'incident.started_at desc' => t('Opened On'),
'incident.recovered_at' => t('Recovered At'),
'incident.severity desc, incident.started_at' => t('Severity')
]
);

Expand Down

0 comments on commit e582ab3

Please sign in to comment.