From f9336c9f42ecc332a87d1af5fb78f0454dd8cf01 Mon Sep 17 00:00:00 2001 From: Chad Birch Date: Mon, 28 Oct 2013 12:18:34 -0600 Subject: [PATCH] JSON: add link_author to out-of-context comments --- r2/r2/lib/jsontemplates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index c65e2c272..d23cff713 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -522,6 +522,7 @@ class CommentJsonTemplate(ThingJsonTemplate): d = ThingJsonTemplate.raw_data(self, thing) if c.profilepage: d['link_title'] = thing.link.title + d['link_author'] = thing.link_author.name return d def rendered_data(self, wrapped):