mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 00:32:05 -04:00
User: Add sort rules
This commit is contained in:
parent
669ab2035f
commit
491960e002
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ class User extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getSortRules()
|
||||
{
|
||||
return ['display_name'];
|
||||
}
|
||||
|
||||
public function createRelations(Relations $relations)
|
||||
{
|
||||
$relations->belongsTo('environment', Environment::class);
|
||||
|
|
|
|||
Loading…
Reference in a new issue