From 67a36a2cca65df4d4775e9ae5e1c0e51172ae081 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 28 Jan 2016 14:26:07 +0100 Subject: Use last comment's time for pagination --- apps/comments/js/commentcollection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/comments/js') diff --git a/apps/comments/js/commentcollection.js b/apps/comments/js/commentcollection.js index 1fda4a4c709..eaa7a1d53fa 100644 --- a/apps/comments/js/commentcollection.js +++ b/apps/comments/js/commentcollection.js @@ -75,7 +75,7 @@ ' ' + this._limit + '\n'; if (this.length > 0) { - body += ' ' + this.first().get('creationDateTime') + '\n'; + body += ' ' + this.last().get('creationDateTime') + '\n'; } body += '\n'; -- cgit v1.2.3