Fix options overwritten by super

search_field helper had no test for the onsearch option, an indeed it was not working, this pr fix this