Commit ff4e913b authored by Thomas Seidl's avatar Thomas Seidl Committed by Joël Pittet
Browse files

Issue #2799283 by drunken monkey, paulocs, pifagor, rhovland: If only sort is...

Issue #2799283 by drunken monkey, paulocs, pifagor, rhovland: If only sort is exposed, the exposed form is not display
parent 57ba3cbc
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -459,19 +459,6 @@ class Block extends CoreBlock {
    return $config['value'][$filter['expose']['identifier']];
  }

  /**
   * {@inheritdoc}
   */
  public function usesExposed() {
    $filters = $this->getHandlers('filter');
    foreach ($filters as $filter) {
      if ($filter->isExposed() && !empty($filter->exposedInfo())) {
        return TRUE;
      }
    }
    return FALSE;
  }

  /**
   * Exposed widgets.
   *