PacketFire / goqdb

Quote Database in Go
MIT License
6 stars 2 forks source link

Persisting state of page queries #9

Closed jgrar closed 10 years ago

jgrar commented 10 years ago

Page queries aren't surviving through rating up/down redirects.

jgrar commented 10 years ago

At the moment this is half complete in ccbee5bc74

Still need to carry the state through to the redirect to index in Rating{Up,Down}

mischief commented 10 years ago

could probably be done through the session w/ cookies, but i dunno how much i want to rely on cookies/session. thoughts?

jgrar commented 10 years ago

Saving the state already involves flashing the parameters to a cookie across the redirects from certain actions. Storing it all in the session would mean you can't link to a page range using GET queries.

Edit: Disregard the parameter flash stuff, had a moment of brain death.

jgrar commented 10 years ago

fixed in 8312c778