Actions
Defect #37553
openquery as_params error
Status:
New
Priority:
Normal
Assignee:
-
Category:
Filters
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Hello,
In my page if we click on "Issues assigned to me" we're redirect to issue page with the query, but it's not the same.
The error is on the filter "status" : function : 'status', operator : 'o' and no values.
But, the method Query.as_params put a v[status]='' on the URL.
To have the same result between my/page and issue's page. You need to change :
params[:v][field] = options[:values]
by :
params[:v][field] = options[:values] unless options[:values].reject{ |v| v.empty? }.empty?
Thanks
No data to display
Actions