mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
DataView: remove duplicate case handling
This commit is contained in:
parent
dab90d6c4a
commit
93e2f36fc8
@ -224,6 +224,7 @@ public function dump()
|
||||
public function sort($column = null, $order = null)
|
||||
{
|
||||
$sortRules = $this->getSortRules();
|
||||
|
||||
if ($sortRules !== null) {
|
||||
if ($column === null) {
|
||||
$sortColumns = reset($sortRules);
|
||||
@ -274,7 +275,7 @@ public function dump()
|
||||
*/
|
||||
public function order($column = null, $direction = null)
|
||||
{
|
||||
return $this->sort($column, $direction !== null ? strtoupper($direction) : null);
|
||||
return $this->sort($column, $direction);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user