 
       # expect(pairs.length).to.eq 2
 
-  describe 'searching', ->
-    it 'filterObjects', ->
+  describe 'filterObjects', ->
+    it 'works', ->
       c1 = { id: 1, name: 'Link', affil: 'good' }
       c2 = { id: 2, name: 'Zelda', affil: 'good' }
       c3 = { id: 3, name: 'Gannon', affil: 'bad' }

  rows



      

      #   when 'match'  #  [ 'match', key, val ]
      #     c[fil[1]] == fil[2]

# joinComponents = (comps,filters) ->
#   filters2 = _.cloneDeep(filters)
#   _.forEach _.rest(filters2), (f) ->
#     f.unshift [ 'join', 'eid' ]
#   joinObjects comps,filters2

joinObjects = (comps,filters,row=[]) ->
  if filters.length == 0
