import wixData from 'wix-data'; const likesWeight = 0.2 const viewsWeight = 0.8 const trendingPostsToShow = 4
I put in the full code and connected it to my repeater and it is displaying posts, but I'm not sure why it's grabbing the two posts it is? Is it weighing by most recent views and likes? or most views all together?
If most views all together then code isn't grabbing correct posts to display.