Patch #31276

Serialize group_by and totalable_names in Query#as_params

Added by Jens Krämer 21 days ago. Updated 20 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:


Category:Issues filter
Target version:3.4.11



- 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.


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

0001-changes-Query-as_params-for-more-complete-serializat.patch Magnifier (1.84 KB) Jens Krämer, 2019-04-29 11:06

Associated revisions

Revision 18103
Added by Go MAEDA 20 days ago

Changes Query#as_params for more complete serialization (#31276).

Patch by Jens Krämer.

Revision 18104
Added by Go MAEDA 20 days ago

Merged r18103 from trunk to 4.0-stable (#31276).

Revision 18105
Added by Go MAEDA 20 days ago

Merged r18103 from trunk to 3.4-stable (#31276).


#1 Updated by Go MAEDA 21 days 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.

#2 Updated by Go MAEDA 20 days ago

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

Committed the fix. Thank you for offering the patch.

Also available in: Atom PDF