diff --git a/package.json b/package.json index c736c3fc..34c4b6b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hat-ring-components", - "version": "4.14.1", + "version": "4.14.2", "description": "Head App Template - RING components", "license": "MIT", "repository": {}, diff --git a/src/components/widgets/Lists/GenericList/GenericList.astro b/src/components/widgets/Lists/GenericList/GenericList.astro index bb621f59..a09c3f97 100644 --- a/src/components/widgets/Lists/GenericList/GenericList.astro +++ b/src/components/widgets/Lists/GenericList/GenericList.astro @@ -22,9 +22,7 @@ const allGeneralParts = GeneralParts; let queryFragment = ''; let response: any = null; -const isAjaxCall = UtilsHelper_getQueryParam('gridLocationWidgetType', context) === 'genericList'; -const isFirstCall = UtilsHelper_getQueryParam('isFirstCall', context) === '1'; -const offset = WidgetHelper_calculateOffsetForGenericListPagination(widgetConfig, currentPage, isAjaxCall, isFirstCall); +const offset = WidgetHelper_calculateOffsetForGenericListPagination(widgetConfig, currentPage); if (offset >= 1000) { toRender = `