Skip to content

Commit

Permalink
Merge branch 'QA_5_1' into QA_5_2
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed May 8, 2022
2 parents bba70ba + b38cbb9 commit a34dc9f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libraries/classes/Display/Results.php
Expand Up @@ -3669,12 +3669,10 @@ public function getTable(
$sortDirection[] = '';
}

$numberOfColumns = count($sortExpressionNoDirection);

// 1.4 Prepares display of first and last value of the sorted column
$sortedColumnMessage = '';
for ($i = 0; $i < $numberOfColumns; $i++) {
$sortedColumnMessage .= $this->getSortedColumnMessage($dtResult, $sortExpressionNoDirection[$i]);
foreach ($sortExpressionNoDirection as $expression) {
$sortedColumnMessage .= $this->getSortedColumnMessage($dtResult, $expression);
}

// 2. ----- Prepare to display the top of the page -----
Expand Down

0 comments on commit a34dc9f

Please sign in to comment.