From dca8035dc0b39b71a7c1185c47fc24b1735e2184 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 5 Jun 2013 16:22:17 +0100
Subject: [PATCH] Issue #1791970 followup by marvil07, dww: Optionally detect
 tar.* as extension instead of * on views file extension field handler.

---
 .../file/lib/Drupal/file/Plugin/views/field/Extension.php       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php
index 50f60505a796..a6e38ceb2986 100644
--- a/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php
+++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php
@@ -37,7 +37,7 @@ public function buildOptionsForm(&$form, &$form_state) {
       '#type' => 'checkbox',
       '#title' => t('Detect if tar is part of the extension'),
       '#description' => t("See if the previous extension is '.tar' and if so, add that, so we see 'tar.gz' or 'tar.bz2' instead of just 'gz'."),
-      '#default_value' => $this->options['fileextension_max_extension_parts'],
+      '#default_value' => $this->options['extension_detect_tar'],
     );
   }
 
-- 
GitLab