Révision c73bc8d8
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/media/media.views.inc | ||
---|---|---|
19 | 19 |
if (module_exists('search_api')) { |
20 | 20 |
// If the Search API module exists, also allow indices of the file-entity |
21 | 21 |
// that has the fid field indexed. |
22 |
$indices = search_api_index_load_multiple(NULL);
|
|
22 |
$indices = search_api_index_load_multiple(FALSE);
|
|
23 | 23 |
foreach ($indices as $machine_name => $index) { |
24 | 24 |
if ($index->item_type == 'file' && isset($index->options['fields']['fid'])) { |
25 | 25 |
$base[] = 'search_api_index_' . $machine_name; |
Formats disponibles : Unified diff
Weekly update of contrib modules