Sort email newsletter posts by baseScore (time-independent), not score.

This commit is contained in:
Sacha Greif 2015-07-28 11:48:32 +09:00
parent f02a33315e
commit 5e3d2e3320
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
## v0.22.2
* Made `approvePost` and `unapprovePost` methods take `postId` instead of `post` as argument and fixed approve/unapprove bug.
* Now sorting email newsletter posts by `baseScore` (time-independent), not `score`.
## v0.22.1 “DebugScope”

View file

@ -205,7 +205,7 @@ Posts.views.add("campaign", function (terms) {
$gte: terms.after
}
},
options: {sort: {sticky: -1, score: -1}}
options: {sort: {baseScore: -1}}
};
});

View file

@ -1,3 +1,4 @@
## v0.22.2
* Made `approvePost` and `unapprovePost` methods take `postId` instead of `post` as argument and fixed approve/unapprove bug.
* Made `approvePost` and `unapprovePost` methods take `postId` instead of `post` as argument and fixed approve/unapprove bug.
* Now sorting email newsletter posts by `baseScore` (time-independent), not `score`.