Révision b720ea3e
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/sites/all/modules/date/date_views/includes/date_views_filter_handler.inc | ||
---|---|---|
3 | 3 |
* @file |
4 | 4 |
* A flexible, configurable date filter. |
5 | 5 |
* This filter combines multiple date filters into a single filter |
6 |
* where all fields are controlled by the same date and can be combined with either AND or OR. |
|
6 |
* where all fields are controlled by the same date and can be combined |
|
7 |
* with either AND or OR. |
|
7 | 8 |
*/ |
8 | 9 |
|
10 |
// @codingStandardsIgnoreStart |
|
9 | 11 |
class date_views_filter_handler extends date_views_filter_handler_simple { |
10 | 12 |
function init(&$view, &$options) { |
11 | 13 |
parent::init($view, $options); |
... | ... | |
64 | 66 |
if ($field['table_name'] != $this->table || !empty($this->relationship)) { |
65 | 67 |
$this->related_table_alias = $this->query->ensure_table($field['table_name'], $this->relationship); |
66 | 68 |
} |
69 |
else { |
|
70 |
$this->related_table_alias = null; |
|
71 |
} |
|
67 | 72 |
$table_alias = !empty($this->related_table_alias) ? $this->related_table_alias : $field['table_name']; |
68 | 73 |
$field_name = $table_alias . '.' . $field['field_name']; |
69 | 74 |
|
... | ... | |
179 | 184 |
} |
180 | 185 |
} |
181 | 186 |
} |
187 |
// @codingStandardsIgnoreEnd |
Formats disponibles : Unified diff
Weekly update of contrib modules