[debugtoolbar] Make SQL and RQL tables sortable
authorSimon Chabot <simon.chabot@logilab.fr>
Thu, 12 Mar 2020 15:38:51 +0100
changeset 12930 665f66e57fc6
parent 12929 edfee40475bb
child 12931 6eae252361e5
[debugtoolbar] Make SQL and RQL tables sortable It's usefull to sort query by duration for instance.
cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako
cubicweb/pyramid/debug_toolbar_templates/sql.dbtmako
--- a/cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako	Thu Mar 12 15:37:59 2020 +0100
+++ b/cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako	Thu Mar 12 15:38:51 2020 +0100
@@ -1,4 +1,4 @@
-<table id="rql-table" class="table table-striped table-condensed">
+<table id="rql-table" class="pDebugSortable table table-striped table-condensed">
     <thead>
         <tr>
             <th class="table-col-1">#</th>
--- a/cubicweb/pyramid/debug_toolbar_templates/sql.dbtmako	Thu Mar 12 15:37:59 2020 +0100
+++ b/cubicweb/pyramid/debug_toolbar_templates/sql.dbtmako	Thu Mar 12 15:38:51 2020 +0100
@@ -1,4 +1,4 @@
-<table id="sql-table" class="table table-striped table-condensed">
+<table id="sql-table" class="pDebugSortable table table-striped table-condensed">
     <thead>
         <tr>
             <th class="table-col-index">#</th>