mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
set $nocontent to false when indexing a folder
This commit is contained in:
parent
82e5bf4687
commit
bcb83d6942
|
@ -66,7 +66,10 @@ class SeedDMS_FulltextService {
|
|||
}
|
||||
|
||||
public function IndexedDocument($document, $forceupdate=false) {
|
||||
$nocontent = ($document->getLatestContent()->getFileSize() > $this->maxsize) && !$forceupdate;
|
||||
if($document->isType('document'))
|
||||
$nocontent = ($document->getLatestContent()->getFileSize() > $this->maxsize) && !$forceupdate;
|
||||
else
|
||||
$nocontent = true;
|
||||
return new $this->services[0]['IndexedDocument']($document->getDMS(), $document, $this->converters, $nocontent, $this->cmdtimeout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user