Repository: Fix that legacy sort rules are ignored

refs #2765
This commit is contained in:
Johannes Meyer 2018-01-16 12:57:43 +01:00
parent ce4ae47805
commit 9ea916c5c6

View File

@ -523,7 +523,7 @@ abstract class Repository implements Selectable
} }
} elseif ($this->legacySortRules === null) { } elseif ($this->legacySortRules === null) {
$foundTables = array_intersect_key($this->getQueryColumns(), $this->sortRules); $foundTables = array_intersect_key($this->getQueryColumns(), $this->sortRules);
$this->legacyFilterColumns = empty($foundTables); $this->legacySortRules = empty($foundTables);
} }
if ($this->legacySortRules) { if ($this->legacySortRules) {