Verified Commit 7164a775 authored by Dave Long's avatar Dave Long
Browse files

Issue #3360442 by _andrew, matthew.h, aziza_a, Lendude, Kristen Pol: Prevent...

Issue #3360442 by _andrew, matthew.h, aziza_a, Lendude, Kristen Pol: Prevent the Advanced details getting closed when making changes in the advanced section
parent c1b8fdd9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -616,6 +616,11 @@ public function getDisplayDetails($view, $display) {
    $build['columns']['third']['relationships'] = $this->getFormBucket($view, 'relationship', $display);
    $build['columns']['third']['arguments'] = $this->getFormBucket($view, 'argument', $display);

    // If there is a contextual filter or a relationship set, expand the
    // Advanced column to display these values to the user.
    if (!empty($build['columns']['third']['relationships']['fields']) || !empty($build['columns']['third']['arguments']['fields'])) {
      $build['columns']['third']['#open'] = TRUE;
    }
    return $build;
  }