[#14,view/explorer]: show total doc count in data explorer.

This commit is contained in:
Rufus Pollock
2012-01-06 11:59:27 +00:00
parent 250f931c36
commit 7a5e2edef8
3 changed files with 26 additions and 4 deletions

View File

@@ -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;
}
});