mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
58d4f242b0
Automatic registration sets the version to '' (empty). This breaks the search as Lucene Search will return an Empty query object if a subquery has an empty key. Fix: register the modules as 'current' instead of ''. Setting the version title to 'current' in DocumentViewer->getVersions() is now no longer necessary.