From 59476c39bb034aa7be9f23ff6bac01c5d23eeb68 Mon Sep 17 00:00:00 2001 From: "M. Sonntag" Date: Tue, 20 Oct 2020 15:19:41 +0200 Subject: [PATCH] [js/model] Add sortid to observableabstract Closes #507 --- app/assets/javascripts/lib/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/lib/models.js b/app/assets/javascripts/lib/models.js index 3026d8c6..1b66491d 100644 --- a/app/assets/javascripts/lib/models.js +++ b/app/assets/javascripts/lib/models.js @@ -1093,6 +1093,7 @@ define(["lib/tools", "lib/accessors", "moment", "knockout"], function(tools, ac var self = tools.inherit(this, Model, uuid); + self.sortId = sortId || 0; self.title = ko.observable(title || null); self.topic = ko.observable(topic || null); self.text = ko.observable(text || null);