@mjhls/mjh-framework 1.0.901-media-series-itemsperpage-v1 → 1.0.901-media-series-itemsperpage-v2
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.
|
@@ -411,12 +411,12 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
411
411
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
412
412
|
start = (currentPage - 1) * itemsPerPage;
|
|
413
413
|
statusCode = 200;
|
|
414
|
-
params =
|
|
414
|
+
params = {
|
|
415
415
|
count: itemsPerPage,
|
|
416
416
|
from: start,
|
|
417
417
|
to: start + itemsPerPage,
|
|
418
418
|
url: pathname
|
|
419
|
-
}
|
|
419
|
+
};
|
|
420
420
|
_context2.next = 9;
|
|
421
421
|
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
422
422
|
|
|
@@ -404,12 +404,12 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
404
404
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
405
405
|
start = (currentPage - 1) * itemsPerPage;
|
|
406
406
|
statusCode = 200;
|
|
407
|
-
params =
|
|
407
|
+
params = {
|
|
408
408
|
count: itemsPerPage,
|
|
409
409
|
from: start,
|
|
410
410
|
to: start + itemsPerPage,
|
|
411
411
|
url: pathname
|
|
412
|
-
}
|
|
412
|
+
};
|
|
413
413
|
_context2.next = 9;
|
|
414
414
|
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
415
415
|
|