TryGhost/Ghost — pull request #1088 by jacobian (2013-10-15 16:13:48+00:00)
Title: Fix #896 - work around errors in pagination under Postgresql.

This is an updated pull request for https://github.com/TryGhost/Ghost/pull/1068, as requested in that PR.