Project

General

Profile

Actions

Patch #31276

closed

Serialize group_by and totalable_names in Query#as_params

Added by Jens Krämer almost 5 years ago. Updated almost 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 #1

Updated by Go MAEDA almost 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.

Actions #2

Updated by Go MAEDA almost 5 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix. Thank you for offering the patch.

Actions

Also available in: Atom PDF