Pagination Bugfix.

This commit is contained in:
2026-04-12 08:33:29 +01:00
parent dea25b71c2
commit eec6ad2785
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ export default function sqlGenerator({ tableName, genObject, dbFullName, count }
if (genObject?.limit && !count)
queryString += ` LIMIT ${genObject.limit}`;
if ((genObject?.offset || genObject?.page) && !count)
queryString += ` OFFSET ${genObject.offset}`;
queryString += ` OFFSET ${genObject.offset || genObject?.page}`;
return {
string: queryString,
values: sqlSearhValues,