Created
April 21, 2015 17:52
-
-
Save rccc/3b877f6250ea9361bfbe to your computer and use it in GitHub Desktop.
sonata_list_column_sortable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$listMapper | |
->addIdentifier('name') | |
->add('site',null,array( | |
'sortable'=>true, | |
'sort_field_mapping'=> array('fieldName'=>'name'), | |
'sort_parent_association_mappings' => array(array('fieldName'=>'site') | |
))) | |
; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment