Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"next" links in /api/entries responses lack search parameters #2305

Closed
deanishe opened this issue Sep 24, 2016 · 1 comment
Closed

"next" links in /api/entries responses lack search parameters #2305

deanishe opened this issue Sep 24, 2016 · 1 comment
Labels
Milestone

Comments

@deanishe
Copy link

Wallabag 2.0.7

Search parameters aren't propagated to the URLs in _links in the JSON response. So given the URL
/api/entries.json?perPage=30&page=1&archive=0, the _links.next.href is /api/entries.json?perPage=30&page=2 (i.e. the archive parameter has disappeared).

As a result, the URL doesn't point to the next page of results, but of my entire collection, and retrieving the next URLs will return all entries, not the search results.

@j0k3r j0k3r added the Bug label Sep 24, 2016
@j0k3r j0k3r added this to the 2.1.0 milestone Oct 2, 2016
@j0k3r
Copy link
Member

j0k3r commented Oct 2, 2016

Good catch, thanks 👍

@j0k3r j0k3r closed this as completed Oct 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants