Modified contact grids to use display_name, and the contact model to take company name into account if no other fields will work for display name.

git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@762 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-24 19:17:55 +00:00
parent 7a1aa536fa
commit 9bc699bf51
4 changed files with 21 additions and 18 deletions

View File

@@ -50,7 +50,7 @@ class ContactsController extends AppController {
}
function gridDataPostProcessLinks(&$params, &$model, &$records, $links) {
$links['Contact'] = array('last_name', 'first_name');
$links['Contact'] = array('display_name');
return parent::gridDataPostProcessLinks($params, $model, $records, $links);
}