ignore placeholder deputies (#36632)
This commit is contained in:
parent
4ddb26f6de
commit
82629738eb
|
@ -508,6 +508,7 @@ class SyncFromPcfDbView(BrowserView):
|
||||||
FROM t_pers, t_pershistoline, t_comppol, t_parl, t_arrond
|
FROM t_pers, t_pershistoline, t_comppol, t_parl, t_arrond
|
||||||
WHERE t_pers.st = 'S_PARL' and
|
WHERE t_pers.st = 'S_PARL' and
|
||||||
t_pers.prenom is not NULL and
|
t_pers.prenom is not NULL and
|
||||||
|
t_pers.nom is not like '%% N %%' and
|
||||||
t_pers.id = t_pershistoline.pers and
|
t_pers.id = t_pershistoline.pers and
|
||||||
t_pershistoline.description = t_comppol.id and
|
t_pershistoline.description = t_comppol.id and
|
||||||
t_pershistoline.type = 'P_CMPL' and
|
t_pershistoline.type = 'P_CMPL' and
|
||||||
|
|
Reference in New Issue