mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-25 21:43:47 -04:00
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue