Reenabled projecting on the search views.
This commit is contained in:
parent
cc8bd156ec
commit
4b1b72627c
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ app = require('application')
|
||||||
|
|
||||||
class SearchCollection extends Backbone.Collection
|
class SearchCollection extends Backbone.Collection
|
||||||
initialize: (modelURL, @model, @term) ->
|
initialize: (modelURL, @model, @term) ->
|
||||||
@url = "#{modelURL}/search"
|
@url = "#{modelURL}/search?project=yes"
|
||||||
@url += "?term=#{term}&project=yes" if @term
|
@url += "&term=#{term}" if @term
|
||||||
|
|
||||||
module.exports = class ThangTypeHomeView extends View
|
module.exports = class ThangTypeHomeView extends View
|
||||||
template: template
|
template: template
|
||||||
|
|
Reference in a new issue