   @contentIsOpen = new ReactiveVar(false)
   @reviewed = new ReactiveVar @data.reviewed or false
 
-# Template.curatorSourceDetails.onRendered ->
-
 Template.curatorSourceDetails.helpers
   post: ->
     return CuratorSources.findOne({_id: @_id})

      filterArray.push _.object(Template.instance().data.reviewFilter.fields.map((field)->
        [field, reviewFilter]
      ))
    console.log filterArray
    filter = {
              $and: filterArray
            }


Template.curatorInboxSection.onRendered ->
  # select the first item in the inbox
  if $(".details-open").length == 0
    $(".curator-inbox-table tbody tr:first").click()

Template.curatorInboxSection.onCreated ->
  @curatorInboxFields = [
