-
-
Save cupertinobr/4a4fc7af4d1ac13f260e8b541c85641b to your computer and use it in GitHub Desktop.
DEFINIR ORDENAÇÃO PELO CAMPO DE OUTRA TABELA NO DATAGRID
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
<?php | |
public function onReload($param = NULL) | |
{ | |
if (empty($param['order'])) | |
{ | |
$param['order'] = 'cidade->nome'; | |
$criteria->setProperties($param); | |
} | |
$objects = $repository->load($criteria, FALSE); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment