Changed the default table configuration to be link instead of contain. contain was never really desired, it just got thrown in there since it wasn't clear how link would behave, and we needed the essential effect of recursive=-1.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@367 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-23 01:11:30 +00:00
parent 8cf8f65474
commit 0ba5007438

View File

@@ -288,10 +288,10 @@ class AppController extends Controller {
*/
function gridDataFilterTables(&$params, &$model, $query) {
if (isset($query['link']))
$link = 'link';
else
if (isset($query['contain']))
$link = 'contain';
else
$link = 'link';
if (empty($params['post']['filter']))
return $query;
@@ -432,7 +432,7 @@ class AppController extends Controller {
}
function gridDataTables(&$params, &$model) {
return array('contain' => false);
return array('link' => array());
}
function gridDataTableSet(&$params, &$model) {