diff --git a/webhookslist.php b/webhookslist.php index 31bc16b..89502bd 100755 --- a/webhookslist.php +++ b/webhookslist.php @@ -232,7 +232,7 @@ $reshook=$hookmanager->executeHooks('printFieldListWhere', $parameters); // Note that $action and $object may have been modified by hook $sql.=$hookmanager->resPrint; -$sql.= $db->order($sortfield . ", rowid", $sortorder . "," . $sortorder); +$sql.= $db->order($sortfield . ", epw.rowid", $sortorder . "," . $sortorder); // Count total nb of records $nbtotalofrecords = '';