f07509 Adjust the logic when filtering issues by priorities

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Adjust the logic when filtering issues by priorities
    
    In the database priorities are stored in tickets as integer so we cannot
    query them as string directly.
    The approach taken with this commit allows to filter by priority given
    its rank (integer) or its label (name).
    
    Thanks to faitout for pointing it out
    
        
file modified
+1 -0
file modified
+18 -1