From 9ea916c5c614eec5693d6eefc1d3d4bf18fe8eae Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 16 Jan 2018 12:57:43 +0100 Subject: [PATCH] Repository: Fix that legacy sort rules are ignored refs #2765 --- library/Icinga/Repository/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Repository/Repository.php b/library/Icinga/Repository/Repository.php index b00a2a278..13000f058 100644 --- a/library/Icinga/Repository/Repository.php +++ b/library/Icinga/Repository/Repository.php @@ -523,7 +523,7 @@ abstract class Repository implements Selectable } } elseif ($this->legacySortRules === null) { $foundTables = array_intersect_key($this->getQueryColumns(), $this->sortRules); - $this->legacyFilterColumns = empty($foundTables); + $this->legacySortRules = empty($foundTables); } if ($this->legacySortRules) {