modify search box according to selected filter