Pull-request: #15803 Fixes: #15799 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
6686d174fb
@ -1020,6 +1020,10 @@ Sql.initProfilingTables = function () {
|
||||
if (!$.tablesorter) {
|
||||
return;
|
||||
}
|
||||
// Added to allow two direction sorting
|
||||
$('#profiletable')
|
||||
.find('thead th')
|
||||
.off('click mousedown');
|
||||
|
||||
$('#profiletable').tablesorter({
|
||||
widgets: ['zebra'],
|
||||
@ -1032,6 +1036,10 @@ Sql.initProfilingTables = function () {
|
||||
}
|
||||
}
|
||||
});
|
||||
// Added to allow two direction sorting
|
||||
$('#profilesummarytable')
|
||||
.find('thead th')
|
||||
.off('click mousedown');
|
||||
|
||||
$('#profilesummarytable').tablesorter({
|
||||
widgets: ['zebra'],
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'State' %}
|
||||
{{ show_mysql_docu('general-thread-states') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th>
|
||||
@ -27,13 +26,12 @@
|
||||
</div>
|
||||
|
||||
<div class="floatleft">
|
||||
<h3>{% trans 'Summary by state' %}</h3>
|
||||
<h3>{% trans 'Summary by state' %}{{ show_mysql_docu('general-thread-states') }}</h3>
|
||||
<table id="profilesummarytable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
{% trans 'State' %}
|
||||
{{ show_mysql_docu('general-thread-states') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user