プロジェクト

全般

プロフィール

Vote #78728

未完了

Support of ActiveRecord i18n scope in query filters

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
32
issue_org_id:
26642
author_id:
108604
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Same as in #26618.
Patch attached.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I searched on GitHub, there are some plugins that uses `QueryFilter.new`, changing parameter of the initialize method may breaking these plugins.
https://github.com/search?l=Ruby&q=redmine+QueryFilter.new&type=Code
--------------------------------------------------------------------------------
Seiei Miyagi wrote:
> I searched on GitHub, there are some plugins that uses `QueryFilter.new`, changing parameter of the initialize method may breaking these plugins.
> https://github.com/search?l=Ruby&q=redmine+QueryFilter.new&type=Code

Thank you for reviewing the patch. I don't think it is worthwhile to be merged if it breaks some plugins.

Removing from 4.1.0 for now.
--------------------------------------------------------------------------------
Ok. How about this patch?
Query is a last part of redmine that use "field_*", after this patch there will be available safely way to migrate all this translations to standard I18n structure.
--------------------------------------------------------------------------------


related_issues

relates,Closed,26618,Support of default ActiveRecord I18n scopes in LabelledFormBuilder

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

  • カテゴリI18n_37 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0