Commit b5291742 authored by Miguel Angelo Salerno's avatar Miguel Angelo Salerno
Browse files

uncomment state filter section

parent 86d00ce3
Pipeline #24429 failed with stage
in 2 minutes and 40 seconds
......@@ -579,7 +579,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => {
}, rqf.build(), query, id2str.transform(), (req, res, next) => {
let filters = Object.keys(req.filter)
{/*if(filters.includes("state")) {
if(filters.includes("state")) {
const disciplinesDB = ['quimica', 'fisica', 'matematica', 'biologia', 'ciencias', 'lingua_portuguesa', 'lingua_inglesa', 'lingua_espanhola',
'lingua_francesa', 'lingua_outra', 'lingua_indigena', 'artes', 'educacao_fisica', 'historia', 'geografia', 'filosofia', 'ensino_religioso',
'estudos_sociais', 'sociologia']
......@@ -624,7 +624,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => {
req.result = results;
}
else { */}
else {
let disciplinesNotSuitable = [];
let disciplinesSuitable = [];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment