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

Change table field for 'period' in /enrollment

parent a5e27f50
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!44Feature multiple where
Pipeline #
......@@ -268,18 +268,13 @@ rqf.addField({
}
}).addValue({
name: 'period',
table: 'turma',
tableField: 'turno',
table: 'matricula',
tableField: 'turma_turno_id',
resultField: 'period_id',
where: {
relation: '=',
type: 'integer',
field: 'turno'
},
join: {
primary: 'id',
foreign: 'turma_id',
foreignTable: 'matricula'
field: 'turma_turno_id'
}
});
......
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