Committer: akanashin
LJSUP-12323: Display entries only from users with social capital more than 10U trunk/htdocs/stats/latest.bml
Modified: trunk/htdocs/stats/latest.bml =================================================================== --- trunk/htdocs/stats/latest.bml 2012-05-25 12:02:04 UTC (rev 12011) +++ trunk/htdocs/stats/latest.bml 2012-05-25 12:49:33 UTC (rev 12012) @@ -60,9 +60,9 @@ next if $rawposts->{prop}{$id}{unknown8bit}; ## Display entries only from users with social capital more than 10 - my $u = LJ::load_userid($p->{journalid}); + my $u = LJ::load_userid($p->{journalu}->{userid}); if ($u) { - my $position = LJ::PersonalStats::DB->fetch_raw('get_authority', {journal_id => $u->userid}); + my $position = LJ::PersonalStats::DB->fetch_raw('ratings', { func => 'get_authority', journal_id => $u->userid}); my $soc_capital = 0; if (ref $position eq 'HASH') {