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