Changed account to split the table requests into two parts.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@132 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -57,9 +57,9 @@ class AccountsController extends AppController {
|
||||
$params['action'] = 'all';
|
||||
}
|
||||
|
||||
function jqGridDataTables(&$params, &$model) {
|
||||
return array
|
||||
('link' =>
|
||||
function jqGridDataExtraTables(&$params, &$model, &$query) {
|
||||
unset($query['contain']);
|
||||
$query['link'] =
|
||||
array(// Models
|
||||
'CurrentLedger' => array
|
||||
(// Models
|
||||
@@ -71,7 +71,6 @@ class AccountsController extends AppController {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user