Bad sort field

This commit is contained in:
jfefe 2015-05-05 03:56:09 +02:00
parent 638c534211
commit db5a2bacd1

View File

@ -107,7 +107,7 @@ class ThirdpartyApi extends DolibarrApi {
*
* @return array Array of thirdparty objects
*/
function getList($mode, $sortfield = "c.rowid", $sortorder = 'ASC', $limit = 0, $page = 0) {
function getList($mode=0, $sortfield = "s.rowid", $sortorder = 'ASC', $limit = 0, $page = 0) {
global $db, $conf;
$obj_ret = array();