From 5549aa29bd20fad1790ce9e7aafeafde87852bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 21 Nov 2011 20:15:40 +0100 Subject: [PATCH] also import documents that have a imageid set --- tabellio/pcfdb/sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index b47d9ad..dfac75b 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -725,7 +725,8 @@ class SyncFromPcfDbView(BrowserView): WHERE t_document.st = 'S_INDEXED' AND t_typedoc.finet = 't' AND (t_document.textprovts is not NULL OR - t_document.textdefts is not NULL) + t_document.textdefts is not NULL OR + t_document.imageid is not NULL) %s''' % where_ts) count = 0