Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When troubleshooting performance issues on large sites with lots of views, spotting which queries were generated by Views (and even worse, which specific view is responsible) can be a hassle. The following patch adds an option in the admin/build/views/tools page to add a bit of 'signature' text to each view. When it's activated, a pseudo-field called 'view_name' will be added to each view, containing the name of the current view and the display style that's being used to generate its query. Super-handy, and easy to flip on and off during debugging.
Comment | File | Size | Author |
---|---|---|---|
views_signature.patch | 2.5 KB | eaton | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedEasy one. =)
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.