Optional parameter to include search box or not