diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index 2ab1e4d..4e3c057 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -716,7 +716,7 @@ class SyncFromPcfDbView(BrowserView): where_ts = '' if timestamp: where_ts = cursor.mogrify('AND t_document.ts > %s', (timestamp,)) - cursor.execute('''SELECT t_document.id, type, sess, date, no, nodoc, + cursor.execute('''SELECT t_document.id, type, sess, date, no, nodoc, anx, intit, auteurs, matiereids, comppols, imageid, textdefts, textprovts FROM t_document @@ -735,7 +735,7 @@ class SyncFromPcfDbView(BrowserView): if row is None: break count += 1 - (doc_id, doctype, sess, date, no, nodoc, intit, authors, topics, + (doc_id, doctype, sess, date, no, nodoc, anx, intit, authors, topics, polgroups, image_id, textprovts, textdefts) = row if intit is None: @@ -766,6 +766,7 @@ class SyncFromPcfDbView(BrowserView): object.nodoc = str(nodoc) else: object.nodoc = None + object.noannexe = anx object.doctype = doctype object.file_image_id = image_id object.topics = topics