13b47e When querying the number of PR filed/actionable, apply this filter

Authored and Committed by Pierre-Yves Chibon 5 years ago
    When querying the number of PR filed/actionable, apply this filter
    
    When querying in the API the PR filed/actionable by someone we do two
    queries:
    - The first one returned the total number of PRs filed/actionable
    - The second one queries the PRs in the range asked for
    
    The issue was that the filed/actionable filter applied in the second
    query wasn't applied in the first, resulting in a discrepancy between
    the pagination and the number of PRs returned.
    
    Fixes https://pagure.io/pagure/issue/4057
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
    
        
file modified
+10 -2