When an exposed filter form uses a field from the Date module, the field can split into multiple form elements.

This allows the Date module to support filter by year, month, and day for example. The results from this type of multi-part filter is an array of values in $view->exposed_input['field_name']['value'].

This patch goes to $view->exposed_raw_input to get the a full date string which is then safely passed to the tpl.

This patch has been tested in D7 only and with the patch available in #1134804: Drupal 7 Port of Exposed Filter Data.

Comments

BrockBoland’s picture

Status: Needs review » Needs work

Patch was not attached to this issue.