Skip to content
Snippets Groups Projects
Commit 499bd631 authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

add diff_location filter to rqf

parent 6cb77cf2
No related branches found
No related tags found
1 merge request!309Merge new updates into master
......@@ -294,7 +294,17 @@ rqf.addField({
foreign: 'estado_id',
foreignTable: 'escola'
}
}, 'search');
}, 'search').addValue({
name: 'diff_location',
table: 'escola',
tableField: 'localizacao_diferenciada_par',
resultField: 'diff_location_id_par',
where: {
relation: '=',
type: 'integer',
field: 'localizacao_diferenciada_par'
}
});
rqfCount.addField({
name: 'filter',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment