aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/src/templates/item.handlebars
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-06-19 14:49:55 +0200
committerRobin Appelman <robin@icewind.nl>2019-06-19 15:09:56 +0200
commit9b8f2f41927374e32ff9ff9f3b64d29256155046 (patch)
tree05036095db0424533b67b877d3eb482b64b2d316 /apps/files_versions/src/templates/item.handlebars
parent817bdc47c804ae8511ad3423eae216f6ccdee6c6 (diff)
downloadnextcloud-server-9b8f2f41927374e32ff9ff9f3b64d29256155046.tar.gz
nextcloud-server-9b8f2f41927374e32ff9ff9f3b64d29256155046.zip
fix previews and rollback of versions with non numeric version ids
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_versions/src/templates/item.handlebars')
-rw-r--r--apps/files_versions/src/templates/item.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/src/templates/item.handlebars b/apps/files_versions/src/templates/item.handlebars
index e34be4bd025..656cab22866 100644
--- a/apps/files_versions/src/templates/item.handlebars
+++ b/apps/files_versions/src/templates/item.handlebars
@@ -1,4 +1,4 @@
-<li data-revision="{{timestamp}}">
+<li data-revision="{{id}}">
<div>
<div class="preview-container">
<img class="preview" src="{{previewUrl}}" width="44" height="44"/>