From 68b2c6459b4f872a43b29934e10f2f86c71f4ec6 Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Wed, 27 Sep 2017 09:37:01 -0300 Subject: [PATCH] Fix school join in classroom route --- src/libs/routes/classroom.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/libs/routes/classroom.js b/src/libs/routes/classroom.js index 1d1ad4ad..47004afe 100644 --- a/src/libs/routes/classroom.js +++ b/src/libs/routes/classroom.js @@ -84,11 +84,6 @@ rqf.addField({ relation: '=', type: 'integer', field: 'id' - }, - join: { - primary: ['id', 'ano_censo'], - foreign: ['escola_id', 'ano_censo'], - foreignTable: 'matricula' } }, 'dims').addValueToField({ name: 'school', @@ -99,11 +94,6 @@ rqf.addField({ relation: '=', type: 'integer', field: 'id' - }, - join: { - primary: ['id', 'ano_censo'], - foreign: ['escola_id', 'ano_censo'], - foreignTable: 'matricula' } }, 'filter').addValueToField({ name: 'city', -- GitLab