Last, prev links not returned in search when page>lastpage
Bug #1731301 reported by
Toto Bille
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Kit Randel |
Bug Description
Read comment: https:/
This behavior is the same if I require a negative page.
summary: |
- Last, prev links not returned when page>lastpage + Last, prev links not returned in search when page>lastpage |
tags: | added: search snapdevicegw |
tags: |
added: doc removed: snapdevicegw |
To post a comment you must log in.
Hi Thomas, as mentioned on Slack, this is by design. A search request with an out of bound page request will always return the last page. You can programatically determine that this is the last page given the lack of a 'last' and 'next' links (assuming you meant "last, next" rather than "last, prev", as that indeed would be a bug).