In recent spotty versions (not sure when it began) I get a wrong value in the count field of the response.
I was expecting to get the number of items available as I have previously got, and all other queries do. Instead I get the "itemsPerResponse" parameter back as count.
Example (I have omitted some data from the response for readability, I can post the full response if it's any help):
Request:
Response:
I was expecting to get the number of items available as I have previously got, and all other queries do. Instead I get the "itemsPerResponse" parameter back as count.
Example (I have omitted some data from the response for readability, I can post the full response if it's any help):
Request:
Code:
{
"clientId": "f56e5614",
"data": {
"request": [
"00:04:20:2e:3c:31",
[
"spotty",
"items",
"0",
"1",
"search:Genesis",
"useContextMenu:1",
"menu:spotty",
"item_id:0.0",
"cachesearch:1"
]
],
"response": "/f56e5614/slim/request/12"
},
"channel": "/slim/request",
"id": "160"
}
Code:
{
"ext": {
"priority": ""
},
"id": "160",
"channel": "/f56e5614/slim/request/12",
"data": {
"window": {
"windowStyle": "home_menu"
},
"count": 1,
"base": {
...
},
"offset": 0,
"title": "Ny søgning",
"item_loop": [
...
]
}
}