do not overwrite this._terms in PostsListController's data function

This commit is contained in:
Sacha Greif 2015-01-24 10:53:11 +09:00
parent 2c4e154dca
commit bedefbb653

View file

@ -28,11 +28,6 @@ PostsListController = RouteController.extend({
},
data: function () {
this._terms = {
view: this.view,
limit: this.params.limit || getSetting('postsPerPage', 10),
category: this.params.slug
};
if(Meteor.isClient) {
this._terms.query = Session.get("searchQuery");