Skip to content
Snippets Groups Projects
Commit 8ad97865 authored by jvfpw18's avatar jvfpw18
Browse files

Fix city e state dims

parent d67a2117
No related branches found
No related tags found
1 merge request!257V1.14.0
Pipeline #23306 failed
......@@ -346,7 +346,7 @@ simcaqRqf.addField({
});
outOfSchoolApp.get('/simcaq', simcaqRqf.parse(), (req, res, next) => {
if ('state' in req.filter || 'city' in req.filter) { // Query in state/city level
if ('state' in req.filter || 'city' in req.filter || 'state' in req.dims || 'city' in req.dims) { // Query in state/city level
if ('city' in req.filter && 'state' in req.filter) delete req.filter.state // use only the city filter because of the table particularities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment