From 8ace020ba8331c1754acebd57135ab18d9b635ae Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Dec 2020 19:16:42 +0100 Subject: [PATCH] Update api_setup.class.php --- htdocs/api/class/api_setup.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index 9045626bde4..02bb5afbafd 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -112,7 +112,7 @@ class Setup extends DolibarrApi } /** - * Get the list of ordering reasons. + * Get the list of ordering origins. * * @param string $sortfield Sort field * @param string $sortorder Sort order @@ -121,13 +121,13 @@ class Setup extends DolibarrApi * @param int $active Payment type is active or not {@min 0} {@max 1} * @param string $sqlfilters SQL criteria to filter with. Syntax example "(t.code:=:'OrderByWWW')" * - * @url GET dictionary/ordering_reasons + * @url GET dictionary/ordering_origins * * @return array [List of ordering reasons] * * @throws RestException 400 */ - public function getOrderingReasons($sortfield = "code", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '') + public function getOrderingOrigins($sortfield = "code", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '') { $list = array();