Skip to content

Commit

Permalink
fixed: group by not working
Browse files Browse the repository at this point in the history
  • Loading branch information
pollen8 committed Dec 12, 2013
1 parent 2253c50 commit 636fc9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/com_fabrik/models/list.php
Expand Up @@ -1178,7 +1178,6 @@ protected function formatData(&$data)
}

JDEBUG ? $profiler->mark('elements rendered for table data') : null;
$this->_aGroupInfo = array();
$groupTitle = array();
$this->groupTemplates = array();

Expand Down Expand Up @@ -1217,7 +1216,7 @@ protected function formatData(&$data)

for ($i = 0; $i < count($data); $i++)
{
$sdata = isset($data[$i]->$groupBy) ? isset($data[$i]->$groupBy) : '';
$sdata = isset($data[$i]->$groupBy) ? $data[$i]->$groupBy : '';

// Get rid of & as it blows up SimpleXMLElement, and dont want to use htmlspecialchars as don't want to mess with <, >, etc.
$sdata = str_replace('&', '&amp;', str_replace('&amp;', '&', $sdata));
Expand Down Expand Up @@ -6265,7 +6264,7 @@ private function getStatementsOpts()
* @return array advanced filter values
*/

private function getAdvancedFilterValues()
public function getAdvancedFilterValues()
{
$filters = $this->getFilterArray();
$advanced = array();
Expand Down

0 comments on commit 636fc9c

Please sign in to comment.