[DO NOT MERGE] Fixes #7870: support for auto-complete in image search

You mean this syntax changed in recent versions? I'm all for locking this to ```~> 1.13.6``` if necessary