fix search block show selected parameters that have been search

Last time, because we just set parameters to search block but not the
form block, so it cannot render the selected parameters