openphoto/frontend — pull request #416 by hfiguiere (2012-01-02 09:14:57+00:00)
Title: Deal properly with the sortBy in MySQL

This is for issue #262 - just a bit needed.

Fix MySQL prev/next to honour the sortBy.

Other adapters might need the same change.