From a1aa4ef61cd72fd82fab3c43c8a61fb97daae072 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Fri, 5 Dec 2025 10:54:53 +0000 Subject: [PATCH 1/2] Fix get_records_list() default param values --- docs/apis/core/dml/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apis/core/dml/index.md b/docs/apis/core/dml/index.md index 9666b7b177..a32fef4735 100644 --- a/docs/apis/core/dml/index.md +++ b/docs/apis/core/dml/index.md @@ -201,8 +201,8 @@ public function get_records_list( array $values, $sort = *, $fields = '*', - $limitfrom = *, - $limitnum = '' + $limitfrom = 0, + $limitnum = 0 ) ``` From d2150d735257739b7e815f166b885688ff19a404 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Tue, 19 May 2026 10:14:49 +0100 Subject: [PATCH 2/2] Correct $sort params too --- docs/apis/core/dml/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/core/dml/index.md b/docs/apis/core/dml/index.md index a32fef4735..a3c06bf55d 100644 --- a/docs/apis/core/dml/index.md +++ b/docs/apis/core/dml/index.md @@ -199,7 +199,7 @@ public function get_records_list( $table, $field, array $values, - $sort = *, + $sort = '', $fields = '*', $limitfrom = 0, $limitnum = 0