Commit 1dcab98e by Waqas Khalid

Merge pull request #5388 from mlkwaqas/waqas/tnl469-error-loading-following-threads

Click on posts I'm following should load threads
parents 0130a837 787f8800
...@@ -549,6 +549,7 @@ describe "DiscussionThreadListView", -> ...@@ -549,6 +549,7 @@ describe "DiscussionThreadListView", ->
, ,
"Following" "Following"
) )
expect($.ajax.mostRecentCall.args[0].data.group_id).toBeUndefined();
it "should get threads for the selected leaf", -> it "should get threads for the selected leaf", ->
testSelectionRequest( testSelectionRequest(
......
...@@ -188,7 +188,6 @@ if Backbone? ...@@ -188,7 +188,6 @@ if Backbone?
options.group_id = @group_id options.group_id = @group_id
when 'followed' when 'followed'
options.user_id = window.user.id options.user_id = window.user.id
options.group_id = "all"
when 'commentables' when 'commentables'
options.commentable_ids = @discussionIds options.commentable_ids = @discussionIds
if @group_id if @group_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment