Runner tags search dropdown is empty

Problem

When I open admin -> runners page and try to filter runners by tag it gives me an empty list. Even although there are tags. Its because the XHR request http://localhost:3000/admin/runners/tag_list.json?search= returns an empty array instead of returning all tags.

Solution

Make sure admin/runners/tag_list.json returns all tags when search attribute is empty.

Screenshot

Screen_Shot_2019-06-24_at_2.43.36_PM