Correctly set the typeFilter when the user clicks "show more"

This commit is contained in:
tms 2013-02-17 02:21:49 -05:00
parent 921c3f016f
commit 66d56a8b93
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ window.Discourse.SearchView = Ember.View.extend Discourse.Presence,
count
).property('content')
moreOfType: (e) ->
@set('typeFilter', e.context)
moreOfType: (type) ->
@set('typeFilter', type)
false
cancelType: ->