Amber Brown a33a5abc4c
Clean up the database pagination code (#5007)
* rewrite & simplify

* changelog

* cleanup potential sql injection
2019-04-05 00:21:16 +11:00
..
2019-04-03 11:11:15 +01:00
2019-04-03 11:11:15 +01:00