Nick Ivanter bc6862d82d FIX: make sure the best post is not the worst
By default Postgres returns NULLs first when sorting in a descending order. As a result, best_post() would often actually return the "worst" post of the topic. And it was then included in digest emails in "popular posts".
2016-04-19 17:44:36 +03:00
..
2015-07-20 22:45:05 +08:00
2015-08-19 16:57:26 +10:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-04-12 15:31:14 -04:00
2016-02-19 17:08:08 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2016-03-28 15:21:45 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-03-28 15:21:45 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-03-28 15:21:45 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2016-04-08 12:15:21 -04:00
2016-03-28 15:21:45 +11:00
2016-03-28 15:21:45 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2015-04-07 00:36:46 +04:30
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2015-09-14 10:48:24 +02:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-03-28 15:21:45 +11:00