   ).observes('selectedCountries.@each', 'selectedTags.@each', 'query.length')
 
   currentPageDidChange: (->
+    @set('content', null)
     @set('currentState', @get('states.reloading'))
-    @set('content', [])
 
     @send('reload', => @set('currentState', @get('states.idle')))
   ).observes('currentPage')


Yossarian.EventsController = Ember.ArrayController.extend
  states:    { idle: 0, reloading: 1 }
  tags:      ['electronic', 'punk', 'house', 'folk', 'indie', 'hardcore', 'rock', 'country', 'dubstep', 'techno', 'reggae', 'hip-hop', 'alternative']
  countries: ['Slovakia', 'Germany', 'France', 'England', 'Hungary', 'Poland']

  query:             null
  queryTerm:         null

  ).property('currentState')

  contentDidChange: (->
    @get('player').set('event', @get('content').toArray()[0]) if @get('player.event') == null
  ).observes('content.@each')

  queryTermDidChange: (->
