Révision b08fce64
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/views/plugins/views_plugin_query_default.inc | ||
---|---|---|
1244 | 1244 |
* |
1245 | 1245 |
* @param $get_count |
1246 | 1246 |
* Provide a countquery if this is true, otherwise provide a normal query. |
1247 |
* |
|
1248 |
* @return SelectQuery |
|
1249 |
* A SelectQuery object. |
|
1247 | 1250 |
*/ |
1248 | 1251 |
function query($get_count = FALSE) { |
1249 | 1252 |
// Check query distinct value. |
... | ... | |
1367 | 1370 |
} |
1368 | 1371 |
|
1369 | 1372 |
// Add all query substitutions as metadata. |
1370 |
$query->addMetaData('views_substitutions', module_invoke_all('views_query_substitutions', $this)); |
|
1373 |
$query->addMetaData('views_substitutions', module_invoke_all('views_query_substitutions', $this->view));
|
|
1371 | 1374 |
|
1372 | 1375 |
if (!$get_count) { |
1373 | 1376 |
if (!empty($this->limit) || !empty($this->offset)) { |
Formats disponibles : Unified diff
Weekly update of contrib modules