Minor fixes for client filter sorted by display name
This commit is contained in:
parent
cf46b8be6c
commit
e1edac0da1
1 changed files with 3 additions and 0 deletions
|
|
@ -168,6 +168,9 @@ class ClientFilters extends QueryFilters
|
|||
{
|
||||
$sort_col = explode('|', $sort);
|
||||
|
||||
if($sort_col[0] == 'display_name')
|
||||
$sort_col[0] = 'name';
|
||||
|
||||
return $this->builder->orderBy($sort_col[0], $sort_col[1]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue