mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
On the homepage there are no searchedEntities nor searchedVersions defined, so the searchForm creates empty hiddenfields. PerformSeach creates subqueries for thes empty values resulting in the return of an 'Empty' query object. Solution: do not create these fields when there are no entities/versions