Merge #15803 - Fix #15799 change location of profiling state documentation to fix column ordering

Pull-request: #15803
Fixes: #15799
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-01-16 21:28:09 +01:00
commit 6686d174fb
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 9 additions and 3 deletions

View File

@ -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'],

View File

@ -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>