diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-07-09 01:17:13 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-09 01:17:13 +0300 |
commit | 335749d7540530ae3de3bfa0715be0f2e7ef608d (patch) | |
tree | 650fd9ab10096a114f177b9f5d81875a2be5c438 | |
parent | d991e3e41a83c9479d0f5d95732f998cf352c57d (diff) |
Ensure `@sort` is set by set_filters_params
Closes #1750
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
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 |