summaryrefslogtreecommitdiffstats
path: root/tabellio
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-06 11:30:23 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-06 11:30:23 (GMT)
commit71cfb0218bb7ba08f0dbf83ffb517097a42e188e (patch)
treeb6056b91f1172437c1b87db8811c8c180a1b772a /tabellio
parent9b5ec014f55a45fdf0b157305b195a7fc2a89f1d (diff)
downloadtabellio.pcfdb-71cfb0218bb7ba08f0dbf83ffb517097a42e188e.zip
tabellio.pcfdb-71cfb0218bb7ba08f0dbf83ffb517097a42e188e.tar.gz
tabellio.pcfdb-71cfb0218bb7ba08f0dbf83ffb517097a42e188e.tar.bz2
fix sql select for written questions
Diffstat (limited to 'tabellio')
-rw-r--r--tabellio/pcfdb/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index be425d2..d760f9f 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -779,7 +779,7 @@ class SyncFromPcfDbView(BrowserView):
if timestamp:
where_ts = cursor.mogrify('AND t_qe.ts > %s', (timestamp,))
- cursor.execute('''SELECT t_histo.id, t_histo.st, t_histo.sess, objet, auteurs, date
+ cursor.execute('''SELECT t_histo.id, t_histo.st, t_histo.sess, objet, t_qe.auteurs, date
FROM t_qe JOIN t_histo
ON (t_qe.id = t_histo.objid)
WHERE objet IS NOT NULL