diff -u b/facets.install b/facets.install --- b/facets.install +++ b/facets.install @@ -152,7 +152,7 @@ } /** - * Update facet blocks configuration with a block id used for AJAX support + * Update facet blocks configuration with a block id used for AJAX support. */ function facets_update_8006() { $query = \Drupal::entityQuery('block') diff -u b/modules/facets_summary/src/Plugin/Block/FacetsSummaryBlock.php b/modules/facets_summary/src/Plugin/Block/FacetsSummaryBlock.php --- b/modules/facets_summary/src/Plugin/Block/FacetsSummaryBlock.php +++ b/modules/facets_summary/src/Plugin/Block/FacetsSummaryBlock.php @@ -103,7 +103,7 @@ 'facets_summary_ajax' => [ 'facets_summary_id' => $build['#attributes']['data-drupal-facets-summary-id'], 'view_id' => $view->id(), - 'current_display_id' => $view->current_display + 'current_display_id' => $view->current_display, ], ]; diff -u b/src/Controller/FacetBlockAjaxController.php b/src/Controller/FacetBlockAjaxController.php --- b/src/Controller/FacetBlockAjaxController.php +++ b/src/Controller/FacetBlockAjaxController.php @@ -106,7 +106,7 @@ $path = $request->request->get('facet_link'); $facets_blocks = $request->request->get('facets_blocks'); - // Make sure we are not updating blocks multiple times + // Make sure we are not updating blocks multiple times. $facets_blocks = array_unique($facets_blocks); if (empty($path) || empty($facets_blocks)) { diff -u b/src/Plugin/Block/FacetBlock.php b/src/Plugin/Block/FacetBlock.php --- b/src/Plugin/Block/FacetBlock.php +++ b/src/Plugin/Block/FacetBlock.php @@ -161,7 +161,7 @@ */ public function blockSubmit($form, FormStateInterface $form_state) { // Save block id to configuration, we do this for loading the orignal block - // with ajax + // with ajax. $block_id = $form['id']['#value']; $this->configuration['block_id'] = $block_id; }