Reenabled projecting on the search views.

This commit is contained in:
Scott Erickson 2014-01-20 22:38:36 -08:00
parent cc8bd156ec
commit 4b1b72627c

View file

@ -5,8 +5,8 @@ app = require('application')
class SearchCollection extends Backbone.Collection
initialize: (modelURL, @model, @term) ->
@url = "#{modelURL}/search"
@url += "?term=#{term}&project=yes" if @term
@url = "#{modelURL}/search?project=yes"
@url += "&term=#{term}" if @term
module.exports = class ThangTypeHomeView extends View
template: template