Révision 98a362c2
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/shs/includes/handlers/shs_handler_filter_term_node_tid_depth.inc | ||
---|---|---|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
// Now build the subqueries. |
90 |
$subquery = db_select('taxonomy_index', 'tn'); |
|
91 |
$subquery->addField('tn', 'nid'); |
|
90 |
if (module_exists('taxonomy_entity_index')) { |
|
91 |
$subquery = db_select('taxonomy_entity_index', 'tn'); |
|
92 |
$subquery->addField('tn', 'entity_id'); |
|
93 |
} |
|
94 |
else { |
|
95 |
$subquery = db_select('taxonomy_index', 'tn'); |
|
96 |
$subquery->addField('tn', 'nid'); |
|
97 |
} |
|
92 | 98 |
$where = db_or()->condition('tn.tid', $this->value, $operator); |
93 | 99 |
$last = "tn"; |
94 | 100 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules