From d8d3dfe069cea1021993e261d8bc9f498849bb9c Mon Sep 17 00:00:00 2001
From: Cristina Hanes <cristinawithout@gmail.com>
Date: Tue, 23 Apr 2013 12:14:28 -0700
Subject: [PATCH] Issue #1968086 by cristinawithout: Fixed not using default
 view

---
 includes/tvi.admin.inc | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/includes/tvi.admin.inc b/includes/tvi.admin.inc
index 5306dc7..d322612 100755
--- a/includes/tvi.admin.inc
+++ b/includes/tvi.admin.inc
@@ -101,16 +101,14 @@ function tvi_taxonomy_admin_form(&$form, $settings) {
     '#value' => $settings->xid,
   );
 
-  if ($settings->type != TVI_TYPE_ALL) {
-    // Status toggle switch
-    $form['tvi']['status'] = array(
-      '#id' => 'tvi-status-check',
-      '#type' => 'checkbox',
-      '#title' => t('Use view override.'),
-      '#default_value' => $settings->status,
-      '#description' => t('Unchecking this field will disable the use of the view when displaying this taxonomy page.'),
-    );
-  }
+  // Status toggle switch
+  $form['tvi']['status'] = array(
+    '#id' => 'tvi-status-check',
+    '#type' => 'checkbox',
+    '#title' => t('Use view override.'),
+    '#default_value' => $settings->status,
+    '#description' => t('Unchecking this field will disable the use of the view when displaying this taxonomy page.'),
+  );
 
   if ($settings->type == TVI_TYPE_TERM) {
     // Inheritance switch
-- 
1.8.2

