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

Fix query build with schools

parent 630d09a2
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -161,7 +161,8 @@ enrollmentApp.use('/', parseParams('filter', [ ...@@ -161,7 +161,8 @@ enrollmentApp.use('/', parseParams('filter', [
if(typeof req.dims.region === 'undefined' if(typeof req.dims.region === 'undefined'
&& typeof req.dims.state === 'undefined' && typeof req.dims.state === 'undefined'
&& typeof req.dims.city === 'undefined') { && typeof req.dims.city === 'undefined'
&& typeof req.dims.school === 'undefined') {
req.sql.field("'Brasil'", 'name'); req.sql.field("'Brasil'", 'name');
} }
......
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