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 count
).property('content') ).property('content')
moreOfType: (e) -> moreOfType: (type) ->
@set('typeFilter', e.context) @set('typeFilter', type)
false false
cancelType: -> cancelType: ->