Skip to content

Commit

Permalink
Grid: Fixed remember state [Closed #135]
Browse files Browse the repository at this point in the history
  • Loading branch information
o5 committed Jun 25, 2014
1 parent a95dfc2 commit bad5152
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Grido/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,10 @@ protected function saveRememberState()
{
if ($this->rememberState) {
$session = $this->getRememberSession(TRUE);
$session->params = $this->params;
$params = array_keys($this->getReflection()->getPersistentParams());
foreach($params as $param) {
$session->params[$param] = $this->$param;
}
}
}

Expand Down

0 comments on commit bad5152

Please sign in to comment.