onSearchAction

fun <ERROR CLASS>.onSearchAction(filter: Boolean = true, onSearchClicked: () -> Unit)