fixed: filters ignored when exporting a predefined query to csv/pdf

git-svn-id: http://redmine.rubyforge.org/svn/trunk@192 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-01-26 22:05:32 +00:00
parent 486b4e9ea2
commit 2c187c43bf
1 changed files with 1 additions and 0 deletions

View File

@ -533,6 +533,7 @@ private
def retrieve_query
if params[:query_id]
@query = @project.queries.find(params[:query_id])
session[:query] = @query
else
if params[:set_filter] or !session[:query] or session[:query].project_id != @project.id
# Give it a name, required to be valid