summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-18 14:33:03 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-18 14:33:03 (GMT)
commit0437d3fecad93b20974a7884b73e41222902b060 (patch)
tree57841800806bac89a2b19e6231458310f010f18c
parentf5e3496dbef7b60ef1cd86c867285647cc5e12ee (diff)
downloadtabellio.pcfdb-0437d3fecad93b20974a7884b73e41222902b060.zip
tabellio.pcfdb-0437d3fecad93b20974a7884b73e41222902b060.tar.gz
tabellio.pcfdb-0437d3fecad93b20974a7884b73e41222902b060.tar.bz2
add sync of appendix number
-rw-r--r--tabellio/pcfdb/sync.py5
1 files changed, 3 insertions, 2 deletions
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