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/site@367 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-23 01:11:30 +00:00
parent 368b730744
commit 85edb1c658

View File

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