lib/carte/client/views/content.cjsx in carte-server-0.0.13 vs lib/carte/client/views/content.cjsx in carte-server-0.0.14
- old
+ new
@@ -23,10 +23,10 @@
console.log 'render component'
switch @props.router.current
when "list"
console.log 'list', @props.router.query
cards = new CardCollection()
- cards.query = $.extend config.default_query, @props.router.query
+ cards.query = $.extend {}, config.default_query, @props.router.query
cards.fetching = true
cards.fetch success: ()-> cards.fetching = false
title = []
for k, v of cards.query
if k != 'title'