Clicking the magnifying glass should perform search

In forum search is only working when user enter some
text in the search textfield and press the Enter
button. It should also work when we click on
magnifying glass.

TNL-526
Why is it necessary to specifically pass which == 1, as opposed to just doing a click like we normally do in tests?