Fixes #5043, restore repository content search autocomplete functionality.