Skip to content

Commit

Permalink
Fix sort on last actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 25, 2017
1 parent e99f190 commit 5ba4a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formactions.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function showactions($object, $typeelement, $socid=0, $forceshowtitle=0, $morecs

require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';

$sortfield='a.datep';
$sortfield='a.datep,a.id';
$sortorder='DESC';

$listofactions=ActionComm::getActions($this->db, $socid, $object->id, $typeelement, '', $sortfield, $sortorder, ($max?($max+1):0));
Expand Down

0 comments on commit 5ba4a57

Please sign in to comment.