changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[ljcom] r9562: LJSUP-6972 Rating of posts on the homepa...

Committer: dnikolaev
LJSUP-6972 Rating of posts on the homepage is unique by journal_id now.

U   trunk/htdocs/index.bml.sup
Modified: trunk/htdocs/index.bml.sup
===================================================================
--- trunk/htdocs/index.bml.sup	2010-09-29 03:57:23 UTC (rev 9561)
+++ trunk/htdocs/index.bml.sup	2010-09-29 08:38:09 UTC (rev 9562)
@@ -125,7 +125,7 @@
                 ";
         }
         if ($remote) {
-            $ret .= LJ::PersonalStats->get_result_html($remote, { widget => 1 }, '/ratings/posts/') if LJ::is_enabled('personal_stats_ratings');
+            $ret .= LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1 }, '/ratings/posts/') if LJ::is_enabled('personal_stats_ratings');
         }
 
         $ret .= "<div class='homepage-insidelj pkg'>";
@@ -265,7 +265,7 @@
         $ret .= LJ::Widget::QotD->render(domain => "homepage");
         $ret .= "</div>";
 
-             $ret .= LJ::PersonalStats->get_result_html($remote, { widget => 1 }, '/ratings/posts/') if LJ::is_enabled('personal_stats_ratings');
+             $ret .= LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1 }, '/ratings/posts/') if LJ::is_enabled('personal_stats_ratings');
 
               $ret .= << "END_OF_HTML"; 
           

Tags: changelog_bot, ljcom, sup
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments