use t_pershistoline timestamp for deputies
This commit is contained in:
parent
c5ba6c48e6
commit
341db07cc2
|
@ -434,7 +434,7 @@ class SyncFromPcfDbView(BrowserView):
|
||||||
cursor = self.db_connection.cursor()
|
cursor = self.db_connection.cursor()
|
||||||
where_ts = ''
|
where_ts = ''
|
||||||
if timestamp:
|
if timestamp:
|
||||||
where_ts = cursor.mogrify('AND t_pers.ts > %s', (timestamp,))
|
where_ts = cursor.mogrify('AND t_pershistoline.ts > %s', (timestamp,))
|
||||||
|
|
||||||
# previous deputies
|
# previous deputies
|
||||||
cursor.execute('''SELECT t_pers.id, t_pers.nom, prenom, sexe, datenaiss,
|
cursor.execute('''SELECT t_pers.id, t_pers.nom, prenom, sexe, datenaiss,
|
||||||
|
|
Reference in New Issue