Fix TypeError for vja ls with task_ids
The filter for task_ids now creates a list instead of a generator:
- The
len()function used to count the number of retrieved tasks does not support generators. This fixes:TypeError: object of type 'generator' has no len(). - The tasks generator is always consumed by
application.output.task_array()and the following count always shows 0. Creating a list before shows the correct task count.
Edited by Florian Preinstorfer