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:
parent
486b4e9ea2
commit
2c187c43bf
|
@ -533,6 +533,7 @@ private
|
||||||
def retrieve_query
|
def retrieve_query
|
||||||
if params[:query_id]
|
if params[:query_id]
|
||||||
@query = @project.queries.find(params[:query_id])
|
@query = @project.queries.find(params[:query_id])
|
||||||
|
session[:query] = @query
|
||||||
else
|
else
|
||||||
if params[:set_filter] or !session[:query] or session[:query].project_id != @project.id
|
if params[:set_filter] or !session[:query] or session[:query].project_id != @project.id
|
||||||
# Give it a name, required to be valid
|
# Give it a name, required to be valid
|
||||||
|
|
Loading…
Reference in New Issue