Convert activity_date_time field to datepicker and add support for url input
authoreileen <emcnaughton@wikimedia.org>
Sat, 2 Mar 2019 05:48:47 +0000 (18:48 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 5 Mar 2019 21:27:59 +0000 (10:27 +1300)
commit27cedb985f9e7ba86bd9069eacef9e715d6bfb21
tree7c0b669b8a65680c0c1fe5fb8e5ca481bff3eb61
parent6a9757ec309e40339f278e19cacf9f4e0d95d35c
Convert activity_date_time field to datepicker and add support for url input

This converts the form to being a metadata defined field & a date-picker field as well
as adding standardised url support for input.

The input format is
activity_date_time_high=20100101

I stripped out the complex and probably broken based on feedback  & not used in core
existing hard-coded url support.

Note that there are some outstanding items
1) the upgrade script item needs to be added - this includes dealing with renaming of the field
since I made it more consistent
2) I stripped out the check to ensure the high date is greater than the low date
- if we still want this we should re-add as a generic thing. My guess is it's a bit optional
CRM/Activity/BAO/Query.php
CRM/Activity/Form/Search.php
CRM/Contact/BAO/Query.php
CRM/Core/Form.php
CRM/Core/Form/Search.php
templates/CRM/Activity/Form/Search/Common.tpl