Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Pulsar 239 -DynamicComponents4
Description
Currently, only page numbers are added to the PMA output. Frontend developers do create page urls by using those page numbers. It would make frontend development easier to create these urls in hst.
Sample output for current PMA;
"pageNumbersArray": [
1, 2, 3
]
Desired PMA output;
"pages": [ { "number": 1, "links": { "site": { "href": /news?r44_r1:page=1, "type": internal }, "self": { "href": http://localhost:8080/site/resourceapi/news?r44_r1:page=1, "type": external } } }, { "number": 2, "links": { "site": { "href": /news?r44_r1:page=2, "type": internal }, "self": { "href": http://localhost:8080/site/resourceapi/news?r44_r1:page=2, "type": external } } }, { "number": 3, "links": { "site": { "href": /news?r44_r1:page=3, "type": internal }, "self": { "href": http://localhost:8080/site/resourceapi/news?r44_r1:page=3, "type": external } } } ]
Attachments
Issue Links
- waits for
-
CMS-13513 Create Pagination objects for PMA Pageable support
- Closed