Pagination on Enigma responses
March 21, 2010, 10:53 pm by annihilate in Programming
Pagination has finally been implemented on the enigma question responses. This was one of the last sections that needed it doing. It is different to other sections in that by default, the last page of responses should be shown rather than the first page. So if there are 50 responses, and 25 to be shown per page, then when arriving on the enigma page without specifying any particular page, then the last 25 comments should be shown.
If you preview or submit your response with errors, it will automatically load the most recent responses for the last page, even if you weren't on the last page originally. This is intended behaviour.
If anyone notices any bugs with this, please let me know, but from what I can tell, it all seems to be working as expected.