From e35cfb25c41134bed83cf559c65946f9e95dffb1 Mon Sep 17 00:00:00 2001
From: johnv <johnv@591042.no-reply.drupal.org>
Date: Sun, 22 Jul 2012 20:31:40 +0200
Subject: [PATCH] Issue #1615752 by johnv: Added Better location for report
 'Fields used in Views'.

---
 views_ui.module | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/views_ui.module b/views_ui.module
index 160f83937b68..5c5e05c71742 100644
--- a/views_ui.module
+++ b/views_ui.module
@@ -146,10 +146,17 @@ function views_ui_menu() {
   ) + $base;
 
   // A page in the Reports section to show usage of fields in all views
-  $items['admin/reports/views-fields'] = array(
-    'title' => 'Fields used in views',
+  $items['admin/reports/fields/list'] = array(
+    'title' => 'List',
+    'type' => MENU_DEFAULT_LOCAL_TASK,
+    'weight' => -10,
+  );
+  $items['admin/reports/fields/views-fields'] = array(
+    'title' => 'Used in views',
     'description' => 'Overview of fields used in all views.',
     'page callback' => 'views_ui_field_list',
+    'type' => MENU_LOCAL_TASK,
+    'weight' => 0,
   ) + $base;
 
   // A page in the Reports section to show usage of plugins in all views.
-- 
GitLab