summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-21 19:15:40 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-21 19:15:40 (GMT)
commit5549aa29bd20fad1790ce9e7aafeafde87852bef (patch)
tree4ea07b09ededb91295b6721653bdd72358ffa70f
parente278de7d7cfd23414f338b7a5294842b7a948fc8 (diff)
downloadtabellio.pcfdb-5549aa29bd20fad1790ce9e7aafeafde87852bef.zip
tabellio.pcfdb-5549aa29bd20fad1790ce9e7aafeafde87852bef.tar.gz
tabellio.pcfdb-5549aa29bd20fad1790ce9e7aafeafde87852bef.tar.bz2
also import documents that have a imageid set
-rw-r--r--tabellio/pcfdb/sync.py3
1 files changed, 2 insertions, 1 deletions
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