diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-01-28 14:26:07 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-02 18:01:15 +0100 |
commit | 67a36a2cca65df4d4775e9ae5e1c0e51172ae081 (patch) | |
tree | 3aeb93d9e8bcab37627407c7c45c6e50a1825b9d /apps/comments/js/commentcollection.js | |
parent | 29386eccf96aec3e6a4c776f43e74c95474697bb (diff) | |
download | nextcloud-server-67a36a2cca65df4d4775e9ae5e1c0e51172ae081.tar.gz nextcloud-server-67a36a2cca65df4d4775e9ae5e1c0e51172ae081.zip |
Use last comment's time for pagination
Diffstat (limited to 'apps/comments/js/commentcollection.js')
-rw-r--r-- | apps/comments/js/commentcollection.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ ' <oc:limit>' + this._limit + '</oc:limit>\n'; if (this.length > 0) { - body += ' <oc:datetime>' + this.first().get('creationDateTime') + '</oc:datetime>\n'; + body += ' <oc:datetime>' + this.last().get('creationDateTime') + '</oc:datetime>\n'; } body += '</D:report>\n'; |