From 913f316c3ea8aa7d86b6711e0938bd47888348af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Hrani=C4=8Dka?= Date: Thu, 19 Feb 2015 21:44:13 +0100 Subject: [PATCH] GroupedSelection: Rows are refetched after emptyResultSet call [Closes #15] --- src/Database/Table/GroupedSelection.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Database/Table/GroupedSelection.php b/src/Database/Table/GroupedSelection.php index e6ae366ba..b3d74c5a6 100644 --- a/src/Database/Table/GroupedSelection.php +++ b/src/Database/Table/GroupedSelection.php @@ -176,6 +176,14 @@ protected function execute() } + protected function emptyResultSet($saveCache = TRUE) + { + parent::emptyResultSet($saveCache); + + $this->refCacheCurrent['data'] = NULL; + } + + protected function getRefTable(& $refPath) { $refObj = $this->refTable;