summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-08 18:17:13 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-08 18:17:13 -0400
commit335749d7540530ae3de3bfa0715be0f2e7ef608d (patch)
tree650fd9ab10096a114f177b9f5d81875a2be5c438 /app/controllers
parentd991e3e41a83c9479d0f5d95732f998cf352c57d (diff)
downloadgitlab-ce-335749d7540530ae3de3bfa0715be0f2e7ef608d.tar.gz
Ensure `@sort` is set by set_filters_paramsrs-issue-1750
Closes #1750
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 63fc146f1d1..8a9d0ce6ff4 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -265,6 +265,7 @@ class ApplicationController < ActionController::Base
params[:scope] = 'all' if params[:scope].blank?
params[:state] = 'opened' if params[:state].blank?
+ @sort = params[:sort]
@filter_params = params.dup
if @project