Skip to content

Commit

Permalink
Fix sorting by biller.
Browse files Browse the repository at this point in the history
Fixes #417.
  • Loading branch information
emaijala committed Nov 22, 2024
1 parent bfa64c2 commit 2f78d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion list.php
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ function ($val) {
// Ignore invisible first columns
$column = $sortField['column'] - 2;
if (isset($shownFields[$column])) {
$fieldName = $shownFields[$column]['name'];
[$fieldName] = explode(' ', $shownFields[$column]['name']);
$direction = $sortField['direction'] === 'desc' ? 'DESC' : 'ASC';
if (substr($fieldName, 0, 1) == '.') {
$fieldName = substr($fieldName, 1);
Expand Down

0 comments on commit 2f78d9b

Please sign in to comment.