Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/views/modules/taxonomy/views_plugin_argument_validate_taxonomy_term.inc | ||
---|---|---|
139 | 139 |
// if unverified tids left - verify them and cache results |
140 | 140 |
if (count($test)) { |
141 | 141 |
$query = db_select('taxonomy_term_data', 'td'); |
142 |
$query->addTag('term_access'); |
|
142 | 143 |
$query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid'); |
143 | 144 |
$query->fields('td'); |
144 | 145 |
$query->fields('tv', array('machine_name')); |
... | ... | |
167 | 168 |
case 'name': |
168 | 169 |
case 'convert': |
169 | 170 |
$query = db_select('taxonomy_term_data', 'td'); |
171 |
$query->addTag('term_access'); |
|
170 | 172 |
$query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid'); |
171 | 173 |
$query->fields('td'); |
172 | 174 |
$query->fields('tv', array('machine_name')); |
... | ... | |
202 | 204 |
$arg_keys = array_flip($args); |
203 | 205 |
|
204 | 206 |
$query = db_select('taxonomy_term_data', 'td'); |
207 |
$query->addTag('term_access'); |
|
205 | 208 |
$query->condition('tid', $args); |
206 | 209 |
$query->addField('td', 'tid', 'tid'); |
207 | 210 |
if (!empty($vocabularies)) { |
Formats disponibles : Unified diff
Weekly update of contrib modules