Pasar al contenido principal

Boton de "Apply" aparece

Module Version
8.x-1.x-dev 2016-Aug-21
Drupal Version
8.3.0-rc2
Comment

robertoguzman@…

Mar, 04/04/2017 - 16:36

Este error se soluciona con la siguiente

diff --git a/src/Plugin/views/vbfbPluginDisplayBlock.php b/src/Plugin/views/vbfbPluginDisplayBlock.php
index db7ede8..50290b7 100644
--- a/src/Plugin/views/vbfbPluginDisplayBlock.php
+++ b/src/Plugin/views/vbfbPluginDisplayBlock.php
@@ -24,6 +24,7 @@ use Drupal\views\Plugin\views\display\Block;
  * @see \Drupal\views\Plugin\Derivative\ViewsBlock
  */
 class vbfbPluginDisplayBlock extends Block {
+
   /**
    * Allows block views to put exposed filter forms in blocks.
    */
@@ -32,9 +33,13 @@ class vbfbPluginDisplayBlock extends Block {
   }
 
   /**
-   * Block views use exposed widgets only if AJAX is set.
+   * {@inheritdoc}
    */
   public function usesExposed() {
-    return TRUE;
+    if (isset($this->options['exposed_block']) && $this->options['exposed_block']) {
+      return TRUE;
+    }
+    return parent::usesExposed();
   }
+
 }

Solción del problema https://www.drupal.org/node/2790505