stop getting the transform from the wrong place on the server in getTransform

This commit is contained in:
Naomi Seyfer
2013-03-11 18:17:07 -07:00
parent 107cb7e2ff
commit f484f4e433

View File

@@ -380,7 +380,7 @@ _.each(['forEach', 'map', 'rewind', 'fetch', 'count'], function (method) {
Cursor.prototype.getTransform = function () {
var self = this;
return self._cursorDescription._transform;
return self._synchronousCursor._transform;
};
// When you call Meteor.publish() with a function that returns a Cursor, we need