[#14,view/explorer]: show total doc count in data explorer.
This commit is contained in:
@@ -35,6 +35,12 @@ my.Dataset = Backbone.Model.extend({
|
||||
dfd.resolve(self.currentDocuments);
|
||||
});
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
toTemplateJSON: function() {
|
||||
var data = this.toJSON();
|
||||
data.docCount = this.docCount;
|
||||
return data;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user