Actions
Patch #31276
closedSerialize group_by and totalable_names in Query#as_params
Description
Problem
- configure a (on the fly, not saved) issue query, group by anything and have any totals displayed
- click on an issue in the resulting issue list
- go back to the list via the x of y
link between the prev/next links
Both grouping and configured total values are now lost since these settings are not contained in the URL parameters of the link.
Solution
By adding :group_by
and :t
keys to Query#as_params
, the query configuration is fully preserved (build_from_params
already checks for those keys).
Patch courtesy of Planio
Files
Updated by Go MAEDA over 5 years ago
- Target version set to 3.4.11
Confirmed the problem and the attached patch works fine. Setting the target version to 3.4.11.
Updated by Go MAEDA over 5 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the fix. Thank you for offering the patch.
Actions