Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #157 from medtr-git/patch-2
Browse files Browse the repository at this point in the history
Fix Ambiguous ‘rowid’ Column in Web Hooks List Query Count
  • Loading branch information
kkhelifa-opendsi authored Oct 4, 2024
2 parents f170bb3 + 194a3aa commit e29e260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhookslist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down

0 comments on commit e29e260

Please sign in to comment.