Line 194: |
Line 194: |
| function Iterator.shipsByTrueId(context, n) | | function Iterator.shipsByTrueId(context, n) |
| local from = numberKey('from', context, n, 1) | | local from = numberKey('from', context, n, 1) |
− | local to = numberKey('to', context, n, 500) | + | local to = numberKey('to', context, n, 1500) |
| return Iterator.shipsBy(context, n, function(e) | | return Iterator.shipsBy(context, n, function(e) |
| if e._true_id then | | if e._true_id then |
Line 277: |
Line 277: |
| function Iterator.equipmentById(context, n) | | function Iterator.equipmentById(context, n) |
| local from = numberKey('from', context, n, 1) | | local from = numberKey('from', context, n, 1) |
− | local to = numberKey('to', context, n, 500) | + | local to = numberKey('to', context, n, 1500) |
| return Iterator.equipmentBy(context, n, function(e) | | return Iterator.equipmentBy(context, n, function(e) |
| return e._id >= from and e._id <= to | | return e._id >= from and e._id <= to |
Line 285: |
Line 285: |
| function Iterator.equipmentByIdWithHeaders(context, n) | | function Iterator.equipmentByIdWithHeaders(context, n) |
| local from = numberKey('from', context, n, 1) | | local from = numberKey('from', context, n, 1) |
− | local to = numberKey('to', context, n, 500) | + | local to = numberKey('to', context, n, 1500) |
| local prevMod = 0 | | local prevMod = 0 |
| return Iterator.equipmentBy( | | return Iterator.equipmentBy( |
Line 308: |
Line 308: |
| function Iterator.equipmentByIdWithEmptyWithHeaders(context, n) | | function Iterator.equipmentByIdWithEmptyWithHeaders(context, n) |
| local from = numberKey('from', context, n, 1) | | local from = numberKey('from', context, n, 1) |
− | local to = numberKey('to', context, n, 500) | + | local to = numberKey('to', context, n, 1500) |
| local prevMod = 0 | | local prevMod = 0 |
| local nItems = (math.floor(U.ilast(CollectionEquipment)._id / 10) + 1) * 10 | | local nItems = (math.floor(U.ilast(CollectionEquipment)._id / 10) + 1) * 10 |