Merge branch 'load_comments' of https://github.com/woorst/rtv into woorst-load_comments
This commit is contained in:
@@ -171,6 +171,7 @@ class Content(object):
|
||||
data['comments'] = ''
|
||||
data['url_full'] = comment._fast_permalink
|
||||
data['url'] = comment._fast_permalink
|
||||
data['permalink'] = comment._fast_permalink
|
||||
data['nsfw'] = comment.over_18
|
||||
data['subreddit'] = six.text_type(comment.subreddit)
|
||||
data['url_type'] = 'selfpost'
|
||||
@@ -565,7 +566,7 @@ class SubredditContent(Content):
|
||||
raise exceptions.AccountError('Not logged in')
|
||||
else:
|
||||
order = order or 'new'
|
||||
submissions = reddit.user.get_submitted(sort=order, limit=None)
|
||||
submissions = reddit.user.get_overview(sort=order, limit=None)
|
||||
|
||||
elif resource_root == 'u' and resource == 'saved':
|
||||
if not reddit.is_oauth_session():
|
||||
@@ -578,7 +579,7 @@ class SubredditContent(Content):
|
||||
order = order or 'new'
|
||||
period = period or 'all'
|
||||
redditor = reddit.get_redditor(resource)
|
||||
submissions = redditor.get_submitted(
|
||||
submissions = redditor.get_overview(
|
||||
sort=order, time=period, limit=None)
|
||||
|
||||
elif resource == 'front':
|
||||
|
||||
Reference in New Issue
Block a user