From 40f4db14666ea1f675ed0ef2d2b16421d2420252 Mon Sep 17 00:00:00 2001
From: Vytor Calixto <vytorcalixto@gmail.com>
Date: Wed, 22 Mar 2017 11:00:48 -0300
Subject: [PATCH] Fix typo in /enrollment

---
 src/libs/routes/enrollment.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js
index 743a8443..e8664c4f 100644
--- a/src/libs/routes/enrollment.js
+++ b/src/libs/routes/enrollment.js
@@ -242,7 +242,7 @@ rqf.addField({
 }).addValue({
     name: 'ethnic_group',
     table: 'cor_raca',
-    tableField: 'name',
+    tableField: 'nome',
     resultField: 'ethnic_group_name',
     where: {
         relation: '=',
-- 
GitLab