There was an error while loading. Please reload this page.
2 parents 91167fb + 1a38769 commit e7aa3fdCopy full SHA for e7aa3fd
1 file changed
libraries/classes/Server/Status/Processes.php
@@ -10,6 +10,7 @@
10
11
use function __;
12
use function array_keys;
13
+use function count;
14
use function mb_strtolower;
15
use function strlen;
16
use function ucfirst;
@@ -143,6 +144,8 @@ private function getSortableColumnsForProcessList(
143
144
'order_by_field' => 'Info',
145
];
146
147
+ $sortableColCount = count($sortableColumns);
148
+
149
$columns = [];
150
foreach ($sortableColumns as $columnKey => $column) {
151
$is_sorted = $orderByField !== ''
@@ -167,6 +170,10 @@ private function getSortableColumnsForProcessList(
167
170
'is_full' => false,
168
171
169
172
173
+ if (0 !== --$sortableColCount) {
174
+ continue;
175
+ }
176
177
$columns[$columnKey]['has_full_query'] = true;
178
if (! $showFullSql) {
179
continue;
0 commit comments