In Display view: Even if the Views > Settings > Basic Show performance statistics is checked no performance data about the query time is shown.

Should show something like Query build time, Query execute time, View render time...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
Issue tags: +dvcs11
FileSize
470 bytes

Here is a patch

dawehner’s picture

This time here is a patch.

TipiT’s picture

Works fine.

SteffenR’s picture

Status: Needs review » Reviewed & tested by the community

I also checked the patch - works fine for me too .

andypost’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/includes/admin.incundefined
@@ -121,7 +121,7 @@ function views_ui_preview($view, $display_id, $args = array()) {
-  $combined = ($show_query === $show_stats);
+  $combined = show_query && $show_stats;

$show_query has lost it's '$'

das-peter’s picture

Status: Needs work » Needs review
FileSize
467 bytes

Looks like the previous patch is already committed.
Attached patch adds the '$' again.
(Mehehe a patch for this has to be called Overhead :D )

dawehner’s picture

Status: Needs review » Fixed

Hey i thought that's a new feature :) Committed to 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

MustangGB’s picture

Title: Performance statistics not showting up » Performance statistics not showing up
Version: 7.x-3.x-dev » 7.x-3.5
Assigned: TipiT » Unassigned
Status: Closed (fixed) » Needs work

Still isn't working with query disabled but stats enabled

[X] Automatically update preview on changes
[X] Show information and statistics about the view during live preview
    [X] Above the preview
    [ ] Below the preview
[ ] Show the SQL query
[X] Show performance statistics
[ ] Show other queries run during render during live preview
MustangGB’s picture

Version: 7.x-3.5 » 7.x-3.x-dev
Priority: Major » Normal
Issue summary: View changes