プロジェクト

全般

プロフィール

Vote #80011

完了

Serialize group_by and totalable_names in Query#as_params

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues filter_56
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
56
version_id:
150
issue_org_id:
31276
author_id:
40856
assigned_to_id:
332
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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":https://plan.io/redmine-hosting


journals

Confirmed the problem and the attached patch works fine. Setting the target version to 3.4.11.
--------------------------------------------------------------------------------
Committed the fix. Thank you for offering the patch.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues filter_56 にセット
  • 対象バージョン3.4.11_150 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0