Browse Source

Delete :issue_query from session instead of :query.

git-svn-id: http://svn.redmine.org/redmine/trunk@16402 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 7 years ago
parent
commit
6eaceed7b5
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      app/controllers/application_controller.rb

+ 1
- 2
app/controllers/application_controller.rb View File

@@ -642,8 +642,7 @@ class ApplicationController < ActionController::Base
# Rescues an invalid query statement. Just in case...
def query_statement_invalid(exception)
logger.error "Query::StatementInvalid: #{exception.message}" if logger
session.delete(:query)
sort_clear if respond_to?(:sort_clear)
session.delete(:issue_query)
render_error "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator."
end


Loading…
Cancel
Save