Searching in a wiki returns images that contain the searched keyword in basic search
Summary
When searching within a wiki without using advanced search, the images are returned as if they were wiki pages, and the link to the image is not viewable
Steps to reproduce
Upload an image with the title similar to a wiki article (import_redmine.png in my case) Restrict search to the closest group and projecte to narrow results The first result is the image (and the binary content of the image is show as the text preview) Tested on a 15.8.0-ee version (free license)
What is the current bug behavior?
The first result is the image (and the binary content of the image is show as the text preview)
What is the expected correct behavior?
Images should be skipped by default or at least have some graphical indication that it's an image. If there are image links, they should be clickable
Relevant logs and/or screenshots
Edited by Himanshu Kapoor