Fix sort order

This commit is contained in:
Laurent Destailleur 2017-11-25 16:53:37 +01:00
parent 9b8011f75b
commit 4c8b8dcba5

View File

@ -59,7 +59,7 @@ $offset = $limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
if (! $sortfield) $sortfield='a.datep,a.id';
if (! $sortorder) $sortorder='DESC';
if (! $sortorder) $sortorder='DESC,DESC';
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
$hookmanager->initHooks(array('agendathirdparty'));