Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

API: next_url and prev_url lose query parameter #150

Closed
andylolz opened this issue Jan 19, 2015 · 3 comments
Closed

API: next_url and prev_url lose query parameter #150

andylolz opened this issue Jan 19, 2015 · 3 comments

Comments

@andylolz
Copy link
Collaborator

e.g. http://yournextmp.popit.mysociety.org/api/v0.1/search/persons?q=party:%27Liberal%20Democrats%27&page=2

Both next_url and prev_url are missing the q param, so return unexpected results.

@andylolz andylolz changed the title next_url and prev_url lose query parameter API: next_url and prev_url lose query parameter Jan 19, 2015
@andylolz
Copy link
Collaborator Author

I don’t know if this is actually a problem with mysociety/popit-api… Haven’t investigated further I’m afraid.

@tfgg
Copy link
Collaborator

tfgg commented Jan 19, 2015

I think this is related to this issue I made mysociety/popit#711

(now realising that it should probably be in the popit-api repo)

@andylolz
Copy link
Collaborator Author

You’re right. This is indeed a duplicate of mysociety/popit#711.

Your ticket is better, as it’s a bit more general. Do you want to move that one to popit-api? I’ll close this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants