Commit bf24b664e3d2b245bfc1d0309e36628c357a54ef

Authored by eduardo.batista
1 parent 8eb4517d
Exists in master and in 1 other branch desenv

[Fix] Ordenando por sigla (ASC) para resolver erro de paginação no SQL Server.

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
rn/MdWsSeiOrgaoRN.php
@@ -20,6 +20,7 @@ class MdWsSeiOrgaoRN extends InfraRN { @@ -20,6 +20,7 @@ class MdWsSeiOrgaoRN extends InfraRN {
20 $orgaoDTO->retStrSigla(); 20 $orgaoDTO->retStrSigla();
21 $orgaoDTO->retStrDescricao(); 21 $orgaoDTO->retStrDescricao();
22 $orgaoDTO->setStrSinAtivo('S'); 22 $orgaoDTO->setStrSinAtivo('S');
  23 + $orgaoDTO->setOrdStrSigla(InfraDTO::$TIPO_ORDENACAO_ASC);
23 24
24 if($orgaoDTOParam->getNumMaxRegistrosRetorno()){ 25 if($orgaoDTOParam->getNumMaxRegistrosRetorno()){
25 $orgaoDTO->setNumMaxRegistrosRetorno($orgaoDTOParam->getNumMaxRegistrosRetorno()); 26 $orgaoDTO->setNumMaxRegistrosRetorno($orgaoDTOParam->getNumMaxRegistrosRetorno());