[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-937-g4cbae22

Shawn Moore sartak at bestpractical.com
Tue Sep 28 18:25:20 EDT 2010


The branch, query-logging has been updated
       via  4cbae22f9349e52f49837b7352da1b8d31774cc5 (commit)
      from  c3ae26963d220d1ad1ec53131cc75cc8d6e1f869 (commit)

Summary of changes:
 share/html/Admin/Tools/Queries.html |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 4cbae22f9349e52f49837b7352da1b8d31774cc5
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 28 18:28:28 2010 -0400

    tablesorter demands thead and tbody tags

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index 7214d36..b6cc0a6 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -69,6 +69,14 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
           <li>
               <tt><% $request->{Path} %></tt>
               <table>
+                  <thead>
+                      <tr>
+                          <th>index</th>
+                          <th>duration</th>
+                          <th>statement</th>
+                      </tr>
+                  </thead>
+                  <tbody>
 %                 my $s = 0;
 %                 for my $statement (@{ $request->{Queries} }) {
 %                      my ( $time, $sql, $bind, $duration ) = @$statement;
@@ -81,6 +89,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
                            <td><tt><% $sql %></tt></td>
                        </tr>
 %                 }
+                  </tbody>
               </table>
           </li>
 %     }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list