Skip to content

Loading…

Fix SortableAttribute = 0 #423

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2013
  1. @magefad
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 widgets/TbExtendedGridView.php
View
4 widgets/TbExtendedGridView.php
@@ -240,7 +240,7 @@ public function renderKeys()
return false;
}
- if(!$this->sortableRows || !$this->getAttribute($data[0], $this->sortableAttribute))
+ if(!$this->sortableRows || !$this->getAttribute($data[0], (string)$this->sortableAttribute))
{
return parent::renderKeys();
}
@@ -1109,4 +1109,4 @@ protected function registerClientScripts()
'$("#' . $this->column->grid->id . ' .' . $this->column->grid->extendedSummaryCssClass . ' .' . $this->chartCssClass . '")
.easyPieChart(' . $options . ');';
}
-}
+}
Something went wrong with that request. Please try again.