             info.cell = info.tr.appendChild(document.createElement('td'))
             generateText(info)
             return
-          if info.category.id == 'slot' && info.slot.top
+          if info.category.id == 'slot' && info.slot.global
             generateCell(l-1) # summary
             info.cell.setAttribute("colspan", l)
             return

            populateSlots()
          else
            populateRecords()
          if Key != oldKey || Order.length != Rows.length
            Order = if Rows.length then [0..Rows.length-1] else []
          $scope.count = Rows.length
          $(TBody).empty()
          Expanded = undefined
          Rows[-1] = foot if foot
          populateCols(bySlot)
          for i in Order
            generateRow(i)
          if Editing

                metric: pseudoMetric.top
              ]
            setKey(key || state.key)
            if state.sort && col = Cols.find((c) -> c.category.id == state.sort.c && c.metric.id == state.sort.m)
              sortBy(col, state.sort.dir)
            fill()
            $scope.pivot.load(state.pivot)
            return
