datePicker: Do not require the dateinput class, type-date is enough
Do not crash when the search_form variable is not there