Description: Attachments should also be displayed in the search results if they are only attached, but not inserted on a page.
Steps to reproduce:
Attach an attachment to a page.
Search for the attachment name.
Attachment is displayed in search results.
Attachment is only displayed in search results if it's referenced in the content.
Refer to the attachment in the page