 
       data.nav.buttons = _navButtons
 
+    console.log singleTitle, data.nav.events
     if data.nav?.events?
       Object.merge(navEvents, data.nav.events)
       Template.listNav.events(navEvents)
     else
       Template.listNav.events(navEvents)
-      
+    
+    console.log data.nav
     return data.nav
 
 

    # At the moment the query for search uses name as the key.  Need to revist this
    # to make it so that the package user can set what the default
    templateEvent = "keyup .#{data.single.dasherize()}-search-query"
    if not DMUtils.find(Template.listNav._events, 'selector', ".#{data.single.dasherize()}-search-query")
      navEvents[templateEvent] = (event, template) ->
        event.stopImmediatePropagation()
        context = template.data

      # console.log data.row.events
      Template._listRow.events(data.row.events)
    else
      # console.log _listRowEvents, Template._listRow.__eventMaps
      Template._listRow.events(_listRowEvents)

    # Build up an array of the items to be in the list
