holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12617: LJSUP-13557: Top commentators on livejou...

Committer: akanashin
LJSUP-13557: Top commentators on livejournal.ru is empty
U   trunk/cgi-bin/LJ/Stream/Comment.pm
Modified: trunk/cgi-bin/LJ/Stream/Comment.pm
===================================================================
--- trunk/cgi-bin/LJ/Stream/Comment.pm	2012-09-06 13:53:01 UTC (rev 12616)
+++ trunk/cgi-bin/LJ/Stream/Comment.pm	2012-09-06 14:08:41 UTC (rev 12617)
@@ -105,11 +105,14 @@
     my $p_url = $comment->parent_url || '';
     $p_url = "<link rel='related' href='$p_url' />" if $p_url ne '';
 
+    my $orig_url = $entry->url(no_overrides => 1);
+
     $atom .= $is_index;
     $atom .= "<entry>
 <title>$c_title</title>
 <link href='$c_url' />
 $p_url
+<lj:url>$orig_url</lj:url>
 <published>$published</published>
 <updated>$updated</updated>
 $c_poster

Tags: akanashin, holyandrew, ljcom, pm
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