Project

General

Profile

Bug #16526 » bug-4160-4.1.x.-r0.diff

Administrator Admin, 2007-03-12 13:11

View differences:

t3lib/class.t3lib_page.php (Arbeitskopie)
}
if ($ctrl['enablecolumns']['fe_group'] && !$ignore_array['fe_group']) {
$field = $table.'.'.$ctrl['enablecolumns']['fe_group'];
$query.= $this->getMultipleGroupsWhereClause($field, $table);
if (method_exists($this, 'getMultipleGroupsWhereClause')) {
$query.= $this->getMultipleGroupsWhereClause($field, $table);
} else {
$query.= t3lib_pageSelect::getMultipleGroupsWhereClause($field, $table);
}
}
// Call hook functions for additional enableColumns
t3lib/class.t3lib_tsfebeuserauth.php (Arbeitskopie)
$copyAfterFieldsQuery.=' AND '.$fN.'="'.$row[$fN].'"';
}
}
$enableClause = method_exists($GLOBALS['TSFE']->sys_page, 'enableFields') ? $GLOBALS['TSFE']->sys_page->enableFields($table,'',$ignore) : t3lib_pageSelect::enableFields($table,'',$ignore);
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'uid,pid',
$table,
'pid='.intval($row['pid']).
' AND '.$sortField.$op.intval($row[$sortField]).
$copyAfterFieldsQuery.
$GLOBALS['TSFE']->sys_page->enableFields($table,'',$ignore),
$enableClause,
'',
$sortField.$desc,
'2'
(3-3/4)