Set search query  through scope