Show search query in zero state

This goes to a separate helper file.