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
Actions