• Bram Schoenmakers's avatar
    Apply LimitFilter after HiddenTagFilter · d0342c58
    Bram Schoenmakers authored
    The LimitFilter should be performed at the very last step. Instead of
    complicating ExpressionCommand and ListCommand to cough up a well
    ordered set of filters, order the filters when updating the view. Each
    filter is assigned an order number, where filters with a higher order
    are applied later.
    
    This fixes the output when using the ls -n flag, where the truncation
    appears before the hide tag filter. This results in possibly less items
    to be printed than specified (or worse: nothing is printed).
    d0342c58
test_list_command.py 29.1 KB