mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
do not overwrite this._terms in PostsListController's data function
This commit is contained in:
parent
2c4e154dca
commit
bedefbb653
1 changed files with 0 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue