Commit 0bcdecd09e609e2e33576ef8ccadb920e550fc8f

Authored by Everton Muniz
Committed by GitHub
2 parents 5fbf6ad8 1049f363
Exists in 2.8 and in 6 other branches 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Merge pull request #6696 from portabilis/issue-6694

Trata método que busca matrículas no faltas e notas para retornar somente ativas
ieducar/modules/Avaliacao/Views/DiarioApiController.php
... ... @@ -870,6 +870,8 @@ class DiarioApiController extends ApiCoreController
870 870 )
871 871 '
872 872 );
  873 +
  874 + $query->where('ativo', 1);
873 875 },
874 876 ])
875 877 ->whereKey($this->getRequest()->turma_id)
... ...