Hey,
When we want to sort list view in any module then we at least need to click it thrice to sort descending.
Is anyone else has same issue?
How to resolve this issue?
SuiteCRM 13.4
Thank in advance!
Hey,
When we want to sort list view in any module then we at least need to click it thrice to sort descending.
Is anyone else has same issue?
How to resolve this issue?
SuiteCRM 13.4
Thank in advance!
It’s always been that way as far as I can remember.
you can modified file:
include\ListView\ListViewData.php
function :getOrderBy
old code:
if (!empty($direction)) {
if (strtolower($direction) == “desc”) {
$direction = ‘DESC’;
} else {
$direction = ‘ASC’;
}
}
New Code:
if (!empty($direction)) {
if (strtolower($direction) == “desc”) {
$direction = ‘DESC’;
} else {
$direction = ‘ASC’;
}
} else {
$direction = ‘ASC’;
}
I hope it can solve your problem.