Don't sort a data view on dump when the data view is already sorted
This commit is contained in:
parent
bb8478a219
commit
7f358ed88d
|
@ -95,7 +95,9 @@ abstract class DataView implements QueryInterface, SortRules, FilterColumns, Ite
|
||||||
|
|
||||||
public function dump()
|
public function dump()
|
||||||
{
|
{
|
||||||
$this->order();
|
if (! $this->isSorted) {
|
||||||
|
$this->order();
|
||||||
|
}
|
||||||
return $this->query->dump();
|
return $this->query->dump();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue