Project

General

Profile

Actions

Feature #26642

open

Support of ActiveRecord i18n scope in query filters

Feature #26642: Support of ActiveRecord i18n scope in query filters

Added by Dmitry Lisichkin over 9 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
I18n
Resolution:

Description

Same as in #26618.
Patch attached.


Files

query_humanize.patch (1.18 KB) query_humanize.patch Dmitry Lisichkin, 2017-08-07 09:59
query_humanize_attribute.patch (937 Bytes) query_humanize_attribute.patch Dmitry Lisichkin, 2021-05-13 12:37

Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #26618: Support of default ActiveRecord I18n scopes in LabelledFormBuilderClosedGo MAEDAActions

Updated by Toshi MARUYAMA about 9 years ago Actions #2

  • Tracker changed from Defect to Feature
  • Target version set to 4.1.0

Updated by Toshi MARUYAMA about 9 years ago Actions #3

  • Related to Feature #26618: Support of default ActiveRecord I18n scopes in LabelledFormBuilder added

Updated by Seiei Miyagi over 7 years ago Actions #4

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

Updated by Go MAEDA over 7 years ago Actions #5

  • Target version changed from 4.1.0 to Candidate for next major release

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.

Updated by Dmitry Lisichkin over 5 years ago Actions #6

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.

Actions

Also available in: PDF Atom