From 3f9465baffcf3c8309d0b9888b74453653606f82 Mon Sep 17 00:00:00 2001 From: Fernando Erd <fce15@inf.ufpr.br> Date: Thu, 14 Feb 2019 09:49:09 -0200 Subject: [PATCH] Fix location_id in school route --- src/libs/routes/school.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/routes/school.js b/src/libs/routes/school.js index 120b7254..13abdfa8 100644 --- a/src/libs/routes/school.js +++ b/src/libs/routes/school.js @@ -384,12 +384,12 @@ rqfCount.addField({ }).addValue({ name: 'location', table: 'escola', - tableField: 'cod_localizacao', + tableField: 'localizacao_id', resultField: 'location_id', where: { relation: '=', type: 'integer', - field: 'cod_localizacao' + field: 'localizacao_id' } }).addValue({ name: 'rural_location', -- GitLab