Skip to content
Snippets Groups Projects
Commit 2e414841 authored by lfr20's avatar lfr20
Browse files

fixing filter

parent c021d2ad
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
......@@ -37,10 +37,12 @@ export default function SearchEPEtapasEns(props) {
for(let i = 0; i < newChecked.length; i++){
if(newChecked[i] != 0){
filterString = filterString + `&educational_stages[]=${newChecked[i]}`
console.log(filterString)
}
}
props.onChange("LearningObject", filterString)
if(filterString)
props.onChange("LearningObject", filterString)
else
props.onChange("LearningObject", "")
};
const filtrosEtapas = [
{ value: "1", exemplo: "Educação Infantil" },
......
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