Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2008 at 18:49 UTC
Updated:
15 Mar 2010 at 18:10 UTC
Working on a site I exported a number of views and placed them into a module. Upon returning to the views admin page, I noticed that the exported views (most of which only supplied blocks) no longer had titles. Looking into the code, I noticed that, while 'Existing Views' got titles via "views_get_title($view, 'admin')" the default views grabbed it from "views_get_title($view, 'menu')". The former seems a lot more useful. Here's a patch that makes the two consistent:
Index: views_ui.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/views_ui.module,v
retrieving revision 1.44.2.25
diff -r1.44.2.25 views_ui.module
309c309
< filter_xss_admin(views_get_title($view, 'menu')),
---
> filter_xss_admin(views_get_title($view, 'admin')),
Comments
Comment #1
sunPlease submit a proper patch. See http://drupal.org/patch for further information.
Comment #2
esmerel commentedProper patch not created, hasn't been touched in a year and a half.