Fixes #5043, restore repository content search autocomplete function.