@mjhls/mjh-framework 1.0.945-nojs-pagination-v2 → 1.0.945-nojs-pagination-v3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -413,7 +413,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
413
413
|
case 13:
|
|
414
414
|
seriesData = _context2.sent;
|
|
415
415
|
_context2.next = 16;
|
|
416
|
-
return client.fetch('count(' +
|
|
416
|
+
return client.fetch('count(' + seriesQuery + ')', _extends._extends({}, params, { from: params.to, to: params.to + itemsPerPage }));
|
|
417
417
|
|
|
418
418
|
case 16:
|
|
419
419
|
nextPagePostsCount = _context2.sent;
|
|
@@ -406,7 +406,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
406
406
|
case 13:
|
|
407
407
|
seriesData = _context2.sent;
|
|
408
408
|
_context2.next = 16;
|
|
409
|
-
return client.fetch('count(' +
|
|
409
|
+
return client.fetch('count(' + seriesQuery + ')', _extends({}, params, { from: params.to, to: params.to + itemsPerPage }));
|
|
410
410
|
|
|
411
411
|
case 16:
|
|
412
412
|
nextPagePostsCount = _context2.sent;
|