From 335749d7540530ae3de3bfa0715be0f2e7ef608d Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Wed, 8 Jul 2015 18:17:13 -0400 Subject: Ensure `@sort` is set by set_filters_params Closes #1750 --- app/controllers/application_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers') 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 -- cgit v1.2.1