Skip to content
Snippets Groups Projects
Commit fe18b7ee authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Merge branch 'issue/408' into development

parents 5d055b60 ed940644
No related branches found
No related tags found
No related merge requests found
...@@ -570,7 +570,7 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => { ...@@ -570,7 +570,7 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => {
// Se a série escolar é menor que a atual, ela não está no vetor, pois o vetor está ordenado e tem range limitado // Se a série escolar é menor que a atual, ela não está no vetor, pois o vetor está ordenado e tem range limitado
if(cityClass.school_year_id < currentClass.school_year_id) { if(cityClass.school_year_id < currentClass.school_year_id) {
currentEducation.classes_school_year.splice(n, 0, cityClass); currentEducation.classes_school_year.splice(n, 0, cityClass);
++o; cityClass = cityEducation.classes_school_year[++o];
continue; continue;
} else if(cityClass.school_year_id > currentClass.school_year_id) { } else if(cityClass.school_year_id > currentClass.school_year_id) {
currentClass = currentEducation.classes_school_year[++n]; currentClass = currentEducation.classes_school_year[++n];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment