[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-939-g3b3e8c5

Shawn Moore sartak at bestpractical.com
Tue Sep 28 19:08:33 EDT 2010


The branch, query-logging has been updated
       via  3b3e8c50e6d3ae08d054c94cc309cfd76d8eff0f (commit)
      from  c91de6f5851805d68d7396b5d10703f067207372 (commit)

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

- Log -----------------------------------------------------------------
commit 3b3e8c50e6d3ae08d054c94cc309cfd76d8eff0f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 28 19:11:34 2010 -0400

    Enable table sorting for queryset tables

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index 0570aa1..e00a781 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -51,7 +51,10 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
  Abort(loc('This feature is only available to system administrators'));
 }
 </%init>
-<& /Admin/Elements/Header, Title => $title &>
+<& /Admin/Elements/Header,
+    Title => $title,
+    onload => 'function () { jQuery(".sortable-table").tablesorter(); }',
+&>
 <& /Admin/Elements/ToolTabs, 
     current_tab => 'Admin/Tools/Queries.html',
     current_subtab => 'Admin/Tools/Queries.html', 
@@ -68,7 +71,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
 %     for my $request (@$history) {
           <li>
               <tt><% $request->{Path} %></tt>
-              <table>
+              <table class="sortable-table">
                   <thead>
                       <tr>
                           <th><&|/l&>index</&></th>

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


More information about the Rt-commit mailing list