Skip to content

Commit 4d1b349

Browse files
shkiperdrunken-monkey
shkiper
authored andcommitted
Issue #2857017 by shkiper: Fixed copy-paste errors in js/index-active-formatters.js.
1 parent 1a29559 commit 4d1b349

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Diff for: CHANGELOG.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Search API 1.x, dev (xxxx-xx-xx):
22
---------------------------------
3+
- #2857017 by shkiper: Fixed copy-paste errors in js/index-active-formatters.js.
34
- #2311039 by drunken monkey: Fixed missing dependency injection for all form
45
and plugin classes.
56
- #2745655 by drunken monkey: Added test for (NOT) NULL conditions on fulltext

Diff for: js/index-active-formatters.js renamed to js/search_api.processors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
"use strict";
99

10-
Drupal.behaviors.searchApiIndexFormatter = {
10+
Drupal.behaviors.searchApiProcessor = {
1111
attach: function (context, settings) {
1212
$('.search-api-status-wrapper input.form-checkbox', context).each(function () {
1313
var $checkbox = $(this);

Diff for: search_api.libraries.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
drupal.search_api.index-active-formatters:
2-
version: VERSION
3-
js:
4-
js/index-active-formatters.js: {}
5-
dependencies:
6-
- core/jquery
7-
- core/drupal
8-
- core/jquery.once
91
drupal.search_api.admin_css:
102
version: VERSION
113
css:
124
theme:
135
css/search_api.admin.css: {}
6+
drupal.search_api.processors:
7+
version: VERSION
8+
js:
9+
js/search_api.processors.js: {}
10+
dependencies:
11+
- core/drupal
12+
- core/jquery
13+
- core/jquery.once

Diff for: src/Form/IndexProcessorsForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function form(array $form, FormStateInterface $form_state) {
130130
}
131131

132132
$form['#tree'] = TRUE;
133-
$form['#attached']['library'][] = 'search_api/drupal.search_api.index-active-formatters';
133+
$form['#attached']['library'][] = 'search_api/drupal.search_api.processors';
134134
$form['#title'] = $this->t('Manage processors for search index %label', array('%label' => $this->entity->label()));
135135
$form['description']['#markup'] = '<p>' . $this->t('Configure processors which will pre- and post-process data at index and search time.') . '</p>';
136136

0 commit comments

Comments
 (0)