Changes

m
no edit summary
Line 105: Line 105:  
      
 
      
 
     local allowedRemodels = context['allowedRemodels']
 
     local allowedRemodels = context['allowedRemodels']
     local listBase = (context['listBase'] == true)
+
     local listBase = (context['listBase'] == 'true')
 
     local collection = {}
 
     local collection = {}
 
     local index = 1
 
     local index = 1
Line 450: Line 450:  
     end
 
     end
 
      
 
      
     testIterator('shipsByType', { type = '11', sort = '_class' , listBase = true})
+
     testIterator('shipsByType', { type = '11', sort = '_class' , listBase = 'true'})
 
     testIterator('shipsByType', { sort = '_name'})
 
     testIterator('shipsByType', { sort = '_name'})
     testIterator('shipsByTrueId', { sort = '_id', from = '1', to = '20', listBase = true})
+
     testIterator('shipsByTrueId', { sort = '_id', from = '1', to = '20', listBase = 'true'})
 
     testIterator('shipsBy', { pred = 'is_auxiliary' , sort = '_name'})
 
     testIterator('shipsBy', { pred = 'is_auxiliary' , sort = '_name'})
 
      
 
      
960

edits