diff --git a/packages/base-components/lib/posts/Post.jsx b/packages/base-components/lib/posts/Post.jsx
index 50e052e58..d7539ca86 100644
--- a/packages/base-components/lib/posts/Post.jsx
+++ b/packages/base-components/lib/posts/Post.jsx
@@ -1,6 +1,6 @@
-const Post = ({document}) => {
+const Post = ({document, currentUser}) => {
- ({ListContainer, CommentList, CommentNew, PostCategories, SocialShare} = Telescope.components);
+ ({ListContainer, CommentList, CommentNew, PostCategories, SocialShare, Vote, PostStats} = Telescope.components);
const post = document;
const htmlBody = {__html: post.htmlBody};
@@ -8,10 +8,15 @@ const Post = ({document}) => {
return (
+
+
{post.title}
{post.commentCount} comments
{moment(post.postedAt).fromNow()}
+
+
+
{post.categoriesArray ? : ""}
diff --git a/packages/base-components/lib/posts/PostStats.jsx b/packages/base-components/lib/posts/PostStats.jsx
index 5774b7c0d..d5d3a19df 100644
--- a/packages/base-components/lib/posts/PostStats.jsx
+++ b/packages/base-components/lib/posts/PostStats.jsx
@@ -4,7 +4,7 @@ const PostStats = ({post}) => {
return (
- {Math.floor(post.score*100)/100} Score
+ {post.score ? {Math.floor(post.score*10000)/10000} Score : ""}
{post.upvotes} Upvotes
{post.clickCount} Clicks
{post.viewCount} Views
diff --git a/packages/nova-voting/lib/scoring.js b/packages/nova-voting/lib/scoring.js
index 1ecfb2cba..4ea2e707e 100644
--- a/packages/nova-voting/lib/scoring.js
+++ b/packages/nova-voting/lib/scoring.js
@@ -37,10 +37,8 @@ Telescope.updateScore = function (args) {
// time decay factor
var f = 1.3;
- // use baseScore if defined, if not just use the number of votes
- // note: for transition period, also use votes if there are more votes than baseScore
- // var baseScore = Math.max(item.votes || 0, item.baseScore || 0);
- var baseScore = item.baseScore;
+ // use baseScore if defined, if not just use 0
+ var baseScore = item.baseScore || 0;
// HN algorithm
var newScore = baseScore / Math.pow(ageInHours + 2, f);
diff --git a/packages/nova-voting/lib/server/cron.js b/packages/nova-voting/lib/server/cron.js
index 823767312..7034bf49c 100644
--- a/packages/nova-voting/lib/server/cron.js
+++ b/packages/nova-voting/lib/server/cron.js
@@ -4,6 +4,7 @@ Meteor.startup(function () {
// active items get updated every N seconds
Meteor.setInterval(function () {
+
var updatedPosts = 0;
var updatedComments = 0;
// console.log('tick ('+scoreInterval+')');