• Patrick Bajao's avatar
    Fix filters presence check to take value into consideration · 1b9dbdc9
    Patrick Bajao authored
    This fixes a bug in the issues/MRs dashboard filter check which
    allows filtering by empty value. It can result to SQL statement
    timeout.
    
    The fix is to check if the value of the filter is present. If not,
    the dashboard will show the "Please select at least one filter to
    see results" message.
    
    Changelog: fixed
    1b9dbdc9
dashboard_controller_spec.rb 3.39 KB