Project

General

Profile

Actions

Patch #31276

closed

Serialize group_by and totalable_names in Query#as_params

Added by Jens Krämer over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues filter
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

Also available in: Atom PDF