Skip to content

Commit

Permalink
Merge pull request #327 from wri/issue-325-index-debug
Browse files Browse the repository at this point in the history
Issue 325 index debug
  • Loading branch information
mariacha authored Oct 23, 2024
2 parents 8582694 + 3cfcf87 commit 96ad250
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/ctools": "^4.0",
"drupal/dblog_persistent": "^2.1",
"drupal/diff": "^1.0",
"drupal/ds": "^3.0",
"drupal/editor_advanced_link": "^2.2",
Expand All @@ -160,6 +161,7 @@
"drupal/layout_builder_st": "^1.0@alpha",
"drupal/layout_custom_section_classes": "^2.0",
"drupal/link_attributes": "^2.1",
"drupal/logging_alerts": "^2.0",
"drupal/media_library_edit": "^3.0",
"drupal/media_responsive_thumbnail": "^1.2",
"drupal/menu_admin_per_menu": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
status: true
dependencies: { }
id: solr_schema_problems
label: 'Solr schema problems'
types:
search_api: search_api
levels: { }
message: DOCS_AND_FREQS_AND_POSITIONS
1 change: 1 addition & 0 deletions modules/wri_admin/wri_admin.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- ctools_views
- diff
- dblog
- dblog_persistent
- ds
- ds_extras
- editor
Expand Down
11 changes: 11 additions & 0 deletions modules/wri_admin/wri_admin.install
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@ function wri_admin_update_10301() {
$role1->revokePermission('administer blocks');
$role1->save();
}

/**
* Enable the module dblog_persistent and pulls config.
*/
function wri_admin_update_10302() {
$moduleHandler = \Drupal::service('module_handler');
if (!$moduleHandler->moduleExists('dblog_persistent')) {
\Drupal::service('module_installer')->install(['dblog_persistent'], TRUE);
}
\Drupal::service('distro_helper.updates')->installConfig('dblog_persistent.channel.solr_schema_problems', 'wri_admin', 'install');
}

0 comments on commit 96ad250

Please sign in to comment.