diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-06 21:12:01 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-06 21:12:01 +0300 |
| commit | 512cd02335de9de22aab688743a01fa868229f0d (patch) | |
| tree | 6996e941f796450bcb25150f502eb861bddeeaf4 /app/contexts | |
| parent | 21c70354f609c292d302c433f9f9bcea31674ab9 (diff) | |
| download | gitlab-ce-512cd02335de9de22aab688743a01fa868229f0d.tar.gz | |
Dashboard/Group issues and mr pages refactoring
Diffstat (limited to 'app/contexts')
| -rw-r--r-- | app/contexts/filter_context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/contexts/filter_context.rb b/app/contexts/filter_context.rb index 401d19b31c8..cd054e0c2c3 100644 --- a/app/contexts/filter_context.rb +++ b/app/contexts/filter_context.rb @@ -11,7 +11,7 @@ class FilterContext end def apply_filter items - if params[:project_id] + if params[:project_id].present? items = items.where(project_id: params[:project_id]) end |
