Commit 49cffd80 by arjun810

Merge pull request #566 from MITx/feature/ibrahim/fix_discussion_sorting

Fix bug with sorting discussion forums 
parents b9f929ff 773a32e3
......@@ -169,7 +169,7 @@ if Backbone?
url = URI($elem.attr("action")).addSearch({text: @$(".search-input").val()})
@reload($elem, url)
sort: ->
sort: (event) ->
$elem = $(event.target)
url = $elem.attr("sort-url")
@reload($elem, url)
......
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