fix: direction indicators were the wrong way round

This commit is contained in:
overflowerror 2024-08-03 23:43:10 +02:00
parent 88ef772b5b
commit 50659d19ae

View file

@ -10,9 +10,9 @@ function makeSortButton(string $field): void {
if ($field == $orderColumn) {
if ($orderDirection == "desc") {
$direction = "asc";
$icon = "fa-sort-up";
} else {
$icon = "fa-sort-down";
} else {
$icon = "fa-sort-up";
}
}