Révision 6eb8d15f
Ajouté par Assos Assos il y a presque 10 ans
drupal7/sites/all/modules/views/includes/handlers.inc | ||
---|---|---|
1581 | 1581 |
// With an array of values, we need multiple placeholders and the |
1582 | 1582 |
// 'IN' operator is implicit. |
1583 | 1583 |
foreach ($info['value'] as $value) { |
1584 |
$placeholder_i = ':views_join_condition_' . $select_query->nextPlaceholder();
|
|
1584 |
$placeholder_i = $view_query->placeholder('views_join_condition_');
|
|
1585 | 1585 |
$arguments[$placeholder_i] = $value; |
1586 | 1586 |
} |
1587 | 1587 |
|
... | ... | |
1591 | 1591 |
else { |
1592 | 1592 |
// With a single value, the '=' operator is implicit. |
1593 | 1593 |
$operator = !empty($info['operator']) ? $info['operator'] : '='; |
1594 |
$placeholder = ':views_join_condition_' . $select_query->nextPlaceholder();
|
|
1594 |
$placeholder = $view_query->placeholder('views_join_condition_');
|
|
1595 | 1595 |
$arguments[$placeholder] = $info['value']; |
1596 | 1596 |
} |
1597 |
|
|
1598 | 1597 |
$extras[] = "$join_table$info[field] $operator $placeholder"; |
1599 | 1598 |
} |
1600 | 1599 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules