Skip to content

List query does not return the page URL parameter in the hydra:view object in the response #29

@baddlan

Description

@baddlan

Request URL: http://localhost:8050/app_dev.php/cases?page=1&limit=2&order%5BupdatedAt%5D=desc

Response:

...
...
  "hydra:view": {
    "@id": "/app_dev.php/cases?limit=2&order%5BupdatedAt%5D=desc",
    "@type": "hydra:PartialCollectionView"
  },

Compared to example from the Services MS:
Request URL: http://localhost:8051/app_dev.php/services?page=1&limit=2

Response:

...
...
"hydra:view": {
    "@id": "/app_dev.php/services?limit=2&page=1",
    "@type": "hydra:PartialCollectionView",
    "hydra:first": "/app_dev.php/services?limit=2&page=1",
    "hydra:last": "/app_dev.php/services?limit=2&page=12",
    "hydra:next": "/app_dev.php/services?limit=2&page=2"
  },

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions