Fixes #7870: support for auto-complete in image search

Why this comment?