This already happens when a file is indexed as its own document.

But the recently added code which allows files to be indexed as part of the node they're attached to does not do it. Therefore, searching for a particular filename will not work correctly in that case.

Comments

David_Rothstein’s picture

Status: Active » Needs review
StatusFileSize
new617 bytes

Here is a simple patch.

nick_vh’s picture

Issue summary: View changes
Status: Needs review » Fixed

Makes sense. Committed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.