Actions
Feature #69496
closedIndexed Search: PDF Indexing outputs only PDF Filename
Start date:
2015-09-03
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
There used to be a feature in indexed search where while indexing the document title would be added to a pdf if there was any, this feature now seems to have vanished completely.
The feature can be implemented in 3 lines so I think it would be a shame to not use it (also since it is used in other file types this completely makes sense):
File: indexed_search/Class/FileContentParser.php:477ff
... if(strlen($pdfInfo['title'])) { $contentArr['title'] = $pdfInfo['title']; } else { // I consider this part rather optional, so maybe you can leave this out $contentArr['title'] = explode(chr(10), $contentArr['body'])[0]; // get the first line as document title }
Actions