Merge pull request #20253 from thomas-Ngr/develop_fix_ticket_messages_order_by_date
fix: make ticket messages order by date desc by default
This commit is contained in:
commit
bda5b775de
@ -59,8 +59,8 @@ $backtopage = GETPOST('$backtopage', 'alpha');
|
|||||||
|
|
||||||
$notifyTiers = GETPOST("notify_tiers_at_create", 'alpha');
|
$notifyTiers = GETPOST("notify_tiers_at_create", 'alpha');
|
||||||
|
|
||||||
$sortfield = GETPOST('sortfield', 'aZ09comma');
|
$sortfield = GETPOST('sortfield', 'aZ09comma') ? GETPOST('sortfield', 'aZ09comma') : "a.datep";
|
||||||
$sortorder = GETPOST('sortorder', 'aZ09comma');
|
$sortorder = GETPOST('sortorder', 'aZ09comma') ? GETPOST('sortorder', 'aZ09comma') : "desc";
|
||||||
|
|
||||||
if (GETPOST('actioncode', 'array')) {
|
if (GETPOST('actioncode', 'array')) {
|
||||||
$actioncode = GETPOST('actioncode', 'array', 3);
|
$actioncode = GETPOST('actioncode', 'array', 3);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user