Browse Source

Update islandora_advanced_search.module

pull/926/head
Simon Hieu Mai 2 years ago committed by GitHub
parent
commit
0d2e584316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      modules/islandora_advanced_search/islandora_advanced_search.module

16
modules/islandora_advanced_search/islandora_advanced_search.module

@ -42,22 +42,6 @@ function islandora_advanced_search_theme() {
];
}
/**
* Implements hook_library_info_alter().
*/
function islandora_advanced_search_library_info_alter(&$libraries, $extension) {
if ($extension == 'facets') {
// Override facets module javascript with customizations.
$path = '/' . drupal_get_path('module', 'islandora_advanced_search') . '/js/facets';
$libraries['soft-limit']['js'] = [
"$path/soft-limit.js" => [],
];
$libraries['drupal.facets.views-ajax']['js'] = [
"$path/facets-views-ajax.js" => [],
];
}
}
/**
* Implements hook_search_api_solr_converted_query_alter().
*/

Loading…
Cancel
Save