BUG-15503 Advanced Search: Cuando un caso es completado... SOLVED

- Cases with the completed status were not considered.
- A validation was added in criteria in file AppCacheView.php function getAllCases2
Merge pull request #2530 from marcoAntonioNina/BUG-15503

BUG-15503 Advanced Search: Cuando un caso es completado... SOLVED